OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Captain Crunch on 06 Jun 2003, 16:57:22
-
How can I name or find out the name of a group?
For example:
A non playable enemy group placed from the editor, not with the F2 key but single units placed one by one and then grouped.
What I would like to do is SetPos the group from a place to another if trigger is activated. Not having to do all units one at a time.
I've check the comrefs but I still don't get it! (I have a cooked potatoe at the place of the brains) :P
Thanx! ;)
-
Morons = units group this
put that in the INIT field of ONE grp member.
Then put the following in a trigger:
"_x setpos getpos G1" foreach morons :-*
(where "G1" is a named gameLogic)
-
It makes no difference whether a group is created using F2 or manually.
If you do create a group with F2, be careful - sometimes there are two units on top of each other, so it looks like there are eight but in fact there are nine.
-
that was resolved in version 1.75
-
Marvellous! What will they think of next?
-
lol
Thanx guys!
-
did it work ? (have feelin it doid ;))
solve da topic ;D
LCD OUT