Home   Help Search Login Register  

Author Topic: Status  (Read 428 times)

0 Members and 1 Guest are viewing this topic.

raggy99

  • Guest
Status
« on: 16 Sep 2003, 08:24:57 »
I was wondering if it was posibile for an East not to kill a West unless the west is AWARE or STEALTH.

i hope that this is easy

Thanks in advance


Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Status
« Reply #1 on: 16 Sep 2003, 11:41:40 »
You'll need a looping script.   Use the command behaviour to detect the behaviour of the loon in question.    Then do what you want:   setCaptive true/false is probably your best bet.

Maybe something like this.   Not guaranteed.

#loop
? not (alive loon1): exit
loon1 setCaptive true
? behaviour loon1 == "aware": loon1 setCaptive false
? behaviour loon1 == "stealth": loon1 setCaptive false
~3
goto "loop"
Plenty of reviewed ArmA missions for you to play

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:Status
« Reply #2 on: 16 Sep 2003, 13:51:21 »
Some things: the Player character will never change formal behaviour from the one first set (i.e aware/safe) unless he has at least one man to command (ALL - safe/aware/stealth). But I'm not entirely sure about that either. You should research it. Just be prepared for some dodgyness if you're planning on using the player in your script.

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"