Jump to content

need help with cleo script writing for aerial animations


stunnedstunter

Recommended Posts

I've got a tricking cleo mod that I want to make the animations active while in the air and not just on foot.

can someone please help me?

what would be the way to write it in sanny builder so that not only can I do say the backflip while on the ground but while in the air as well. what would I add to this in the script writing?

here is a sample of my (not personally all my own, has been edited from original version) cleo script:

// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}

{$CLEO .cs}

//-------------MAIN---------------

0000: NOP

thread 'TRICKS'

:TRICKS_13

wait 10

if

Player.Defined($PLAYER_CHAR)

else_jump @TRICKS_13

04ED: load_animation "TRICKING"

:TRICKS_45

wait 10

if and

0AB0: key_pressed 51

044B: actor $PLAYER_ACTOR on_foot

else_jump @TRICKS_109

0605: actor $PLAYER_ACTOR perform_animation_sequence "BF" IFP_file "TRICKING" 4.0 loop 1 1 1 0 time 2100 // versionA

wait 1500

:TRICKS_109

wait 10

if and

0AB0: key_pressed 54

044B: actor $PLAYER_ACTOR on_foot

else_jump @TRICKS_176

0605: actor $PLAYER_ACTOR perform_animation_sequence "BF360" IFP_file "TRICKING" 4.0 loop 1 1 1 0 time 2100 // versionA

wait 500

:TRICKS_176

wait 10

if and

0AB0: key_pressed 52

044B: actor $PLAYER_ACTOR on_foot

else_jump @TRICKS_246

0605: actor $PLAYER_ACTOR perform_animation_sequence "FRONTFLY" IFP_file "TRICKING" 4.0 loop 1 1 1 0 time 3060 // versionA

wait 1500

Edited by stunnedstunter
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...