OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: NightJay0044 on 14 Nov 2005, 20:13:28
-
HI, my question today has to do with the initialization field of a soldier.
1) How do you get a soldier to join you (player) typing a specific code in his initialization field?
Thank You.
-
Try:
[unitname] join player
There is a lot to be said for reading the command reference (http://www.ofpec.com/editors/comref.php) for queries such as this.
Planck
-
Another question:
1) Why do you have to put "[]" that code around the unitname in the init field?
Such as:
[w1] join player
Thanks
-
[] denotes an array.
So, you could say:
[unitname1, unitname2, unitname3....etc] join player
Planck