OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 04 Aug 2005, 14:08:35

Title: ?squad fleeing
Post by: 456820 on 04 Aug 2005, 14:08:35
how do i check if a whole squad is fleeing ?
im fat too tired to try and work it out i know its something like
? groupone fleeing
or something around those lines or
fleeing groupono
but how do i do it with a whole group ?
i tried the search and found nothing
Title: Re:?squad fleeing
Post by: Dane on 04 Aug 2005, 14:45:13
Quote
fleeing eastReconGroup

from da comref ;D
Title: Re:?squad fleeing
Post by: Blanco on 04 Aug 2005, 15:14:00
True, but the comref also says that the operand must be an object, not a group.


Operand types:
unit: Object


I've never used the fleeing command, but when I follow the comref I should say :

Code: [Select]
"fleeing _x" foreach units grp1
Or

Code: [Select]
fleeing (leader grp1)
because I think fleeing is something collective.





Title: Re:?squad fleeing
Post by: 456820 on 04 Aug 2005, 15:22:05
thanks alot blanco ill try them both
Title: Re:?squad fleeing
Post by: 456820 on 04 Aug 2005, 16:15:09
i tired the seconds one cause that seemed most reliable and it worked grea thanks alot blanco
topic solved
Title: Re:?squad fleeing
Post by: macguba on 06 Aug 2005, 01:20:12
I have a feeling that fleeing is a group property, even though the command refers to a unit.