crashdodgers
12 years ago
Hi, I have tried to use the script below to construct a GLA Infantry RPG Trooper in a barracks, but it just is not working, not even in the toxin generals own barracks.

(*** IF ***
Unit 'Barracks' is owned by Player 'player0001'
*** THEN ***
Unit 'Barracks' use Ability 'Chem_Command_ConstructGLAInfantryRPGTrooper' on Unit 'Barracks'.
Command button: 'Chem_Command_ConstructGLAInfantryRPGTrooper' is added to all objects of type 'Chem_GLABarracks' in slot number 5 (1-12).)
Sponsor
VTULCobra
12 years ago
*** IF ***
     Unit 'Barracks' is owned by Player '<Local Player>'
*** THEN ***
  [???] Command button: 'Chem_Command_ConstructGLAInfantryRPGTrooper' is added to all objects of type 'Chem_GLABarracks' in slot number  5  (1-12).

Don't forget to remove the invisible character at the end of 'Chem_Command_ConstructGLAInfantryRPGTrooper'. Double-click at the end of the line or just put the marker there and hit backspace.
If you've done it correctly it should be displayed with [???].
Rank up!
crashdodgers
12 years ago
HI VTULCobra, well I tried every think, even putting a different command in to the command centre, but still not working. So I am at a lose as to what the problem is?
VTULCobra
12 years ago
Do as I did with the script, it works.
Rank up!