YesNoOk
avatar

How to changestate to a certain frame (Read 353 times)

Started by LuigiMario, December 20, 2013, 06:38:38 am
Share this topic:
How to changestate to a certain frame
#1  December 20, 2013, 06:38:38 am
  • avatar
    • Afghanistan
    • axel201183@hotmail.com
I want to make the char to changestate to a certain frame of the anim
for example:
Stateno 304, anim 304 (6 frames)

Changestate to 305, anim 305 (1 frame)

Changestate back to stateno 304 but goes to the 4th frame of anim 304.

I hope that you guys understand what i want.

Re: How to changestate to a certain frame
#2  December 20, 2013, 05:14:10 pm
  • **
  • NvP!
i think this is what you are searching for

Put this in the state 304
Code:
[State 0, ChangeAnim]
type = ChangeAnim
triggerall = PrevStateNo = 305
trigger1 = Anim!=304
value = 304
elem = 4
Re: How to changestate to a certain frame
#3  December 21, 2013, 04:55:00 pm
  • avatar
    • Afghanistan
    • axel201183@hotmail.com
Nice, it worked, now i want to make my character face the other way when i do a attack
(I set my char with noautoturn and some attacks that uses "holdfwd" won't work, obviously. But setting "holdback" won't work either)