OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: LightWalker on 09 Apr 2003, 13:04:07
-
How do I assign units within a group to different team (Team White = default) in a SCRIPT?
-
well, if Bob is named Rob and not Bob, as it happens in some missions, then bob could easily be told to leave his group via these spells:
[Rob] join grp Null; [Rob] join Bob
...assuming that Bob was then the name of the team leader in the other group :)
And if ya wanna tell multiple d00ds to leave a grp & join another grp, just use:
[Rob, Sob, Nob] join Bob 8)
;D j/k
:D Confused ??? Don't be, just do it! :thumbsup:
-
I think he is talking about fire teams within a squad.
2,3,4 are team red
5,6,7 are team green
So that, for example, you could start a mission with the player as group leader with one fire team in one position, and another fire team in another position. Placing the units is easy, but how can you start the mission with the colours already assigned to the fire teams?
The default is for the whole group to be in one fire team, team white.
-
this setgroupid ["Yankee", "GroupColor1"]
I got this in a mission, the guy is now Yankee Black 1.
hope it helps
-
dere is no way 2 do it :-\ sry
LCD OUT
-
macguba understands my question...
There is no way to do it? Strange.... but ok