Home   Help Search Login Register  

Author Topic: Help with sitting units  (Read 678 times)

0 Members and 1 Guest are viewing this topic.

SolidSnake22

  • Guest
Help with sitting units
« on: 16 Jan 2003, 22:46:36 »
I got 4 Russian soldiers sitting around a fire, i use a script for this that loops so the units sit there for ever.

I have a trigger that sets of the alarm if the Us player is detected, my problem is:

How do i exit the script and get them to stand up and fight?

Help Anybody? 8)

Goering88mm

  • Guest
Re:Help with sitting units
« Reply #1 on: 17 Jan 2003, 07:27:00 »
maybe you shouldnt use a script.  You could put in their init field:

this setbehaviour "CARELESS"; this switchmove "EffectStandSitDown"

this would make them not move and stay in the sitting down position. In the trigger to make them get back up and to fight the incoming US man, just put in the On Activation of the trigger:

unitname setbehaviour "COMBAT"
unitname is the name of the russian soldier name around the fire

hope this helps  ;)
« Last Edit: 17 Jan 2003, 07:27:51 by Goering88mm »

SolidSnake22

  • Guest
Re:Help with sitting units
« Reply #2 on: 17 Jan 2003, 20:49:13 »
Tryed this, but they get up again after some seconds.
Any idea?

O Neil

  • Guest
Re:Help with sitting units
« Reply #3 on: 20 Jan 2003, 04:00:13 »
this setbehaviour "safe"; this switchmove "effectstandsitdown"

And DON'T FORGET to make the waypoint that is on him SAFE (It helps)