Printable Version of Topic

Click here to view this topic in its original format

SWR Productions Forum _ Generals/Zerohour Modding _ Scripting special powers in WorldBuilder

Posted by: yuji23 19 Sep 2017, 7:02

In WorldBuilder, how do I properly script a special power (say, an Anthrax Bomb or F-18 strike) on a neutral/teamPlyrCivilian building like "TechLab/SecretLab" to be fired at a location such as a waypoint? how do i to it, i need step by step cause im newbie on WorldBuilder mellow.gif

Posted by: Skitt 19 Sep 2017, 17:32

create a script on the AI u want to fire the sw
if its a gla gp u will need a command truck named as something, in this case i named it commandtruck.
and created a waypoint called Lab for it to fire at.


*** IF ***
Player 'SkirmishGLA' is ready to fire Special power 'SuperweaponAnthraxBomb'.
*** THEN ***
Unit 'command truck' fires Special power 'SuperweaponAnthraxBomb' at Waypoint 'lab

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)