OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: keou on 05 Nov 2002, 23:40:21
-
Can anyone point me in the right direction for creating a script that will allow two groups to join? I've tested a few, but they are all written with a specific soldier name in mind. Once dead and respawned, the "name" of your player changes. Is there any way to tag a script to the group rather than the soldier? Any help would be greatly appreciated. :-[
-
you mean something like:
in the init.sqs:
mygroup = group maingroupleader
...
respawn:
player join mygroup
or for two groups:
"_x join mygroup" foreach units MyOtherGroup
?
-
Thanks...I will work with that and see what I can create