IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Scripting special powers in WorldBuilder, on neutral building"SecretLab"
yuji23
post 19 Sep 2017, 7:02
Post #1



Group Icon

Group: New Members
Posts: 1
Joined: 19 September 2017
Member No.: 15899



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
Go to the top of the page
 
+Quote Post
Skitt
post 19 Sep 2017, 17:32
Post #2



Group Icon

Group: Moderator
Posts: 1573
Joined: 8 January 2015
From: Newcastle, England
Member No.: 10811
Aut vincere aut mori, Cave quid dicis, quando, et cui, De duobus malis, minus est semper eligendum.



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


--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 24 April 2018 - 4:14