SPAcEGHOsT
Member
I need to know how to make the animation tied to the character, and make it move with the same
example:
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
04EE: animation "WUZI" loaded
04ED: load_animation "WUZI"
:NONAME_187
wait 0
if and
0AB0: key_pressed 32
0AB0: key_pressed 54
not Actor.Driving($PLAYER_ACTOR)
else_jump @NONAME_187
wait 0
0605: actor $PLAYER_ACTOR perform_animation "Wuzi_Walk" IFP "WUZI" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 1 time 1
jump @NONAME_187
example:
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
04EE: animation "WUZI" loaded
04ED: load_animation "WUZI"
:NONAME_187
wait 0
if and
0AB0: key_pressed 32
0AB0: key_pressed 54
not Actor.Driving($PLAYER_ACTOR)
else_jump @NONAME_187
wait 0
0605: actor $PLAYER_ACTOR perform_animation "Wuzi_Walk" IFP "WUZI" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 1 time 1
jump @NONAME_187