OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: SnarlingWolf on 02 Apr 2008, 05:30:38
-
Hi
I have a question hopefully someone can help me with in ArmA mission editor
I have one group of 9 guys including leader in each of the units init box I have Bravo=group this; Bravo1 assignTeam "Red"
but each unit is in numerical order say Bravo1 through Bravo4 and 5-8 has Bravo=group this;Bravo5 assignTeam "Blue"
again in numerical order it works great in preview but when I launch in MP or LAN all units are team white :confused: am I doing something wrong?
-
Sorry for the delay in response. I will try to diagnose it further tonight (unless someone beats me to the punch ;) ). In the meantime instead of using the unit name try using "this" for the assignTeam portion of the init as well. Example:
Bravo=group this; this assignTeam "RED";
if that doesn't work, you may want to try to use assignTeam (or even group as well) in an init.sqf instead of the unit's init line in the editor.