Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO 2.0 - Bug Fix] Item Anim


eddy34
 Share

Recommended Posts

Description: EO has a system of animated items for those who do not know … But he always gets the second frame to the last. The fix makes the first take to the last.

Example of animated item (Made by darkpeople196):

![](http://img585.imageshack.us/img585/6290/90601137.gif)

How to Make Item Anim :

![](http://img651.imageshack.us/img651/8716/item4.png)

In **Sub BltAnimatedInvItems()**, find :

```
If MapItem(i).Frame < MaxFrames - 1 Then

MapItem(i).Frame = MapItem(i).Frame + 1

Else

MapItem(i).Frame = 1

End If
```

Replace :

```
If MapItem(i).Frame < MaxFrames - 1 Then

MapItem(i).Frame = MapItem(i).Frame + 1

Else

MapItem(i).Frame = 0

End If
```

Below, find this :

```
If InvItemFrame(i) < MaxFrames - 1 Then

InvItemFrame(i) = InvItemFrame(i) + 1

Else

InvItemFrame(i) = 1

End If
```

Replace :

```
If InvItemFrame(i) < MaxFrames - 1 Then

InvItemFrame(i) = InvItemFrame(i) + 1

Else

InvItemFrame(i) = 0

End If
```

Credits : GuardianBR
Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...