OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Blanco on 10 Apr 2003, 21:34:04

Title: @unitready group?
Post by: Blanco on 10 Apr 2003, 21:34:04
If I use

@unitready s1

the script will wait until s1 reached his next waypoint

How about a whole group?
Can you do this with foreach?

If I use

@unitready s1
@unitready s2
@unitready s3
...

when s2 is already dead the script wait forever...

plz help...





Title: Re:@unitready group?
Post by: LCD on 10 Apr 2003, 22:35:03
@ "unitready _X" count units groupname == count units groupname

LCD OUT
Title: Re:@unitready group?
Post by: Blanco on 10 Apr 2003, 22:57:00
Thank you very much for the fast answer!

*********TOPIC SOLVED***********