OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: LightWalker on 09 Apr 2003, 13:04:07

Title: 'are team green'
Post 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?
Title: Re:'are team green'
Post by: Tomb on 09 Apr 2003, 18:30:24
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:

Title: Re:'are team green'
Post by: macguba on 09 Apr 2003, 18:36:21
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.
Title: Re:'are team green'
Post by: Flapje on 09 Apr 2003, 18:41:22
this setgroupid ["Yankee", "GroupColor1"]

I got this in a mission, the guy is now Yankee Black 1.

hope it helps
Title: Re:'are team green'
Post by: LCD on 09 Apr 2003, 21:08:32
dere is no way 2 do it  :-\ sry

LCD OUT
Title: Re:'are team green'
Post by: LightWalker on 09 Apr 2003, 22:40:31
macguba understands my question...

There is no way to do it? Strange.... but ok