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: Artillery On, Artillery Off (Description.ext)  (Read 694 times)

0 Members and 1 Guest are viewing this topic.

Kilo11

  • Guest
Artillery On, Artillery Off (Description.ext)
« on: 14 Oct 2003, 05:13:07 »
Umm, I am not sure if this is the right thread, so apologies.  I would like to try and make an option  in the Multiplayer Setup that will allow them to have the following options:

  • Artillery- On
  • Artillery Off
Short and simple to explain so far... But now the complications.  Basically, I want these options to remove or keep several M109 Pallidens that are placed on the map.  The M109's are named "Art1", "Art2", and "Art3".  So basically, I need to be able to remove or keep the M109's form the Multiplayer setup.  Now i know this must be hard, so I understand if I get no responces.  I put this in scripting b/c I figured it may need some scripts.  I know how to use the "Parameters" but this is beyond me.  THank you!


-=Kilo=-
« Last Edit: 15 Oct 2003, 02:19:25 by Kilo11 »

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
Re:Artillery On, Artillery Off (Description.ext)
« Reply #1 on: 15 Oct 2003, 13:46:33 »
This might work...add the following to your description.ext:

Code: [Select]
titleParam1 = "Options"
valuesParam1[] = {0,1};
defValueParam1 = 0;
textsParam1[] = {"Artillery off", "Artillery on"};

...and in init.sqs you could have
Code: [Select]
artypieces = [art1, art2, art3];
?(param1 == 0): "deleteVehicle _x" forEach artypieces

(This probably belongs in the Multiplayer forum...)