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

[EO 2.0, 2.3, ???] Attackanimation 5 Frames


Wortel Angels
 Share

Recommended Posts

Hey ho Eclipsians

I got finally 1000 Posts so i decided to do an Tutorial which was much at the requests…

An 5 Frame attackanimation (Frames can be setted)

**Client Side**

**PlayerRec**

Add above End Type

```

AttackFrame As Byte

AttackFrameTimer As Long

```

**Public Sub BltPlayer**

Search

```

' Check for attacking animation

```
And replace with

```

If Player(Index).AttackTimer + (attackspeed) > GetTickCount Then

If Player(Index).Attacking = 1 Then

If Player(Index).AttackFrameTimer + (attackspeed / 5) <= GetTickCount Then

If Player(Index).AttackFrame < 3 Then Player(Index).AttackFrame = 3

Player(Index).AttackFrame = Player(Index).AttackFrame + 1

If Player(Index).AttackFrame >= 9 Then Player(Index).AttackFrame = 4

Player(Index).AttackFrameTimer = GetTickCount

End If

anim = Player(Index).AttackFrame

End If

Else

```

And thats it xD

It should be logically where to change the Frames else… learn the basics.

EO 2.0

There is no Global-attack animation builded in…

There is an tutorial how to do that or use EO 2.3 (Or rip it from there...)

Credits:

Me...

Footnote:

Ignore the grammatic... else just go away >.<
Link to comment
Share on other sites

Sitting War i never seen your sry xD (if i understand that wrong… then Its working with 2.0 just making the attack animation global would be needed)

Jaxx Thanks

BugSICK i think yes

If someone want an Tutorial how to make them global (Eo 2.0) then write me xD if i get enough peoples which want it then ill do the tut
Link to comment
Share on other sites

  • 7 months later...
  • 1 year later...
  • 2 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...