Jump to content
Sign in to follow this  
subfreak2

how can i sit in chairs

Recommended Posts

subfreak2

make a waypoint or a trigger or in the units ini field

unitname setbehaviour "safe";unitname switchmove "fxstandtotable"

"fxstandfromtable"

or this way

unitname setcaptive true;unitname switchmove "onchair"

playmove

i know u said no script but this one is one of my first and is very easy to understand just copy it to notepad and name it whatever u want example animations.sqs when u save it make sure u save as all files or it wont work now put the script in ur user mission files in opf(putin a folder that has a mission in it )now go to the editor and bring up the mission u put the script \ u must create four soldier units and one for u name the four soldiers r1 r2 r3r r4 create a trigger or a waypoint and put this in the ini field

[] exec "nameofscript.sqs"] u have to put the sqs too

------------------------------------------------------------

~2

titletext["units will go prone now","plain"]

~1

r1 setunitpos "down"

~2

r2 setunitpos "down"

~3

r3 setunitpos "down"

~2

r4 setunitpos "down"

titletext ["simple script\n\nof units position","plain"]

~5

titletext ["units will stand up now","plain"]

r1 setunitpos "up"

~1

r2 setunitpos "up"

~2

r3 setunitpos "up"

~3

r4 setunitpos "up"

~5

titletext ["some animation commands\n\nsetbehaviour 'safe'","plain"]

~1

r1 setbehaviour "safe"

~1

r1 switchmove "fxstandatt"

~2

r2 setbehaviour "safe"

~1

r2 playmove "effectstandsitdown"

~3

r3 setbehaviour "safe"

r3 playmove "fxstandtodip"

r3 playmove "fxstandtodip"

r3 playmove "fxstandfromdip"

~4

r4 setbehaviour "safe"

r4 playmove "effectstandsaluteend";r4 switchmove"effectstandsalute"

~3.2

titletext ["simple scripting really \nopen up this script\n\nand see how is done","plain"]

exit

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×