Jump to content
Sign in to follow this  
hellfish

Action command?

Recommended Posts

alright, its not only the action command but its my biggest problem. I want a group of captives to sit in their tent, that i have set up. i tried using 'this action["STR_ACTION_SITDOWN"]. according to the unofficial comref the str_action_sitdown, is the command for sitting down. but when i do it they don't sit down, they walk out of the tent. they shouldn't be walking at all its very frustrating. help for that would be really helpful.

then another problem i have is a helicopter problem. i want the chopper to start in the air. i managed to have the people start in the chopper but the chopper sinks in the water, then takes off. wierd thing is i don't die.

if one person can fix all these problems of mine, thanks alot. and don't expect me not to stop bugging you, lol wink.gif

Share this post


Link to post
Share on other sites

1, how about this in the units Init field:

this switchMove "FXStandUnivTable"

2, Just select in the player box (the gray box wher you change the units settings and so on)

to be "Flying" instead of "In formation" or "None"

about that first one im not sure i cant remember how it was sad.gif

Share this post


Link to post
Share on other sites

thanks alot, i forgot about the flying thing in the unit box.  maybe i should look around more, lol smile.gif

one problem fixed. But how do i get 4 people to sit on the ground or chair and stay in tent. Would be very useful.

Share this post


Link to post
Share on other sites

type this in the init field to make the unit sit on the ground:

this setbehaviour "Safe"; this switchmove "EffectStandSitDown"

If the units are grouped they will start walking around so dont let them be grouped.

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

If you want a unit to sit on a chair it doesnt seem to work in the init field, so U have to type it in the on activation field of a trigger:

UnitName switchmove "OnChair"

Just make the trigger activated by anyone and not present ,then it should activate at once.

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  

×