Posted by: crashdodgers - Wednesday, February 12, 2014 7:20:32 AM
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).)

Posted by: VTULCobra - Wednesday, February 12, 2014 8:43:10 AM
[CODE]*** IF *** Unit 'Barracks' is owned by Player '' *** THEN *** [???] Command button: 'Chem_Command_ConstructGLAInfantryRPGTrooper' is added to all objects of type 'Chem_GLABarracks' in slot number 5 (1-12). [/CODE] 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 [???].

Posted by: crashdodgers - Wednesday, February 12, 2014 9:45:04 AM
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?

Posted by: VTULCobra - Wednesday, February 12, 2014 10:04:45 AM
Do as I did with the script, it works.