AI using Super Weapon
Posted 08 April 2004 - 08:17 AM
Posted 08 April 2004 - 10:12 AM
Your "AI" script might look like this:
Player <This Player> is ready to fire Special Power '<SuperweaponICBM>
Enable Script 'USA Fire ICBM'
Disable Script 'USA ICBM AI'
(it enables the script that actually fires the specialpower, while disabling itself)
The other script, the one that actually fires the special power might look like this:
Player <This Player> is ready to fire Special power 'SuperweaponICBM'
Player <This Player> fire Special power 'SuperweaponICBM'
Enable Script 'USA ICBM AI'
Disable Script 'USA Fire ICBM'
Note that the scripts must be "inactive", that means, the "Script is Active" checkbox must be empty to make this work.
If this is too complicated I'll give you a more detailed tutorial
Posted 08 April 2004 - 02:27 PM
Posted 09 April 2004 - 07:04 PM
Posted 04 May 2004 - 08:19 PM
Ah, i got another burning Question...
The USA always uses the Hold the Line Battleplan, i found it within the Scripts, so what do i have to do that they randomly choose the other 2's too?
Do i only need to copy this Script-Tag and exchange the Command Button for Hold the Line with Search&Destroy and Bombardment or do i have to do anything else?
Posted 05 May 2004 - 08:22 AM
First delete the original USA Use Battle Plans script.
Then make a simple script with these specifications:
Player <This Player> has Greater Than Or Equal To 1 unit or structure of type 'AmericaStrategyCenter' (name may vary with specific generals)
Set timer 'Use Battle Plans' to expire between 0 and 3 frames.
Then make another one with these specifications:
Counter 'Use Battle Plans' is Equal To '1'
Team <teamSkirmishAmerica> use commandbutton ability <<battle plan goes here>>
And then make two more scripts which test if the counter is 2 or 3, and make them use battleplans
Posted 05 May 2004 - 04:10 PM
About the WB crash - are you using the zero hour world builder? Does it tell you anything useful? If you are using the regular generals world builder, then make sure you have no mod or anything installed...
Posted 05 May 2004 - 04:23 PM
Posted 05 May 2004 - 05:04 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users