OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: PureMassacre on 14 Feb 2004, 23:36:59
-
Hey,
In the init of the player i want to add a command, that will give each member of the group (group1) the 101st (sub) arm patch. Note: The soldiers are the 'BAS Soldiers' (The rangers with patchs). Please help!
I tried the following code with no success:
"_x setObjectTexture [0,"\BAS_weap\unitpatch\101stsub.paa"]" foreach units group1
Thanks in advance...
-
When I did it I put the code into each in turn, and I made my own. They were in .jpg format if I remember correctly.
It says in the readme for the BAS Delta/Rangers, just read it again word for word.
-
OFP can be screwy with brackets and quotation marks. Try this:
"_x setObjectTexture [0,{\BAS_weap\unitpatch\101stsub.paa}]" foreach units group1
-
Thanks mate, it works now