Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Outfitting a team with BAS patches  (Read 1304 times)

0 Members and 1 Guest are viewing this topic.

PureMassacre

  • Guest
Outfitting a team with BAS patches
« 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:

Code: [Select]
"_x setObjectTexture [0,"\BAS_weap\unitpatch\101stsub.paa"]" foreach units group1
Thanks in advance...
« Last Edit: 14 Feb 2004, 23:37:39 by PureMassacre »

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Outfitting a team with BAS patches
« Reply #1 on: 15 Feb 2004, 01:35:00 »
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.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

m21man

  • Guest
Re:Outfitting a team with BAS patches
« Reply #2 on: 15 Feb 2004, 01:45:38 »
OFP can be screwy with brackets and quotation marks. Try this:
Code: [Select]
"_x setObjectTexture [0,{\BAS_weap\unitpatch\101stsub.paa}]" foreach units group1
« Last Edit: 15 Feb 2004, 01:47:53 by m21man »

PureMassacre

  • Guest
Re:Outfitting a team with BAS patches
« Reply #3 on: 15 Feb 2004, 02:24:23 »
Thanks mate, it works now