Help cleo help

SPAcEGHOsT

Member
Joined
Aug 26, 2020
Messages
14
Reaction score
0
Location
???
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
 

auma

Member
Joined
Jul 31, 2022
Messages
12
Reaction score
0
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
please adjust the time
 
Top