Home   Help Search Login Register  

Author Topic: Artillery On, Artillery Off (Description.ext)  (Read 516 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...)