I'm having a small problem having Computers nuke.
The objective I had in mind was for the Computer player to randomly nuke 16 different locations every (approx) 1.5 seconds.
Trigger |
Description: |
Countdown trigger |
|
Players: |
¤ Player 8 |
Conditions: |
¤ 'Nuke' is 'Set' |
Actions: |
¤ Modify death counts for 'Player 1': 'Subtract' '1' for 'Nuke Counter'
|
¤ Preserve Trigger |
This works fine.
Trigger |
Description: |
Counter Reset |
|
Players: |
¤ Player 8 |
Conditions: |
¤ 'Player 1' has suffered 'exactly' '0' deaths of 'Nuke Counter'
|
¤ 'Nuke' is 'Set' |
Actions: |
¤ Modify death counter for 'Player 1': 'Set' to '18' for 'Nuke Counter'
|
¤ 'Set' 'Randomize ON'
|
¤ Preserve Trigger |
This also appears to work fine.
Trigger |
Description: |
Randomize |
|
Players: |
¤ Player 8 |
Conditions: |
¤ 'Randomize ON' is 'Set' |
Actions: |
¤ Randomize 'Random A'
|
¤ Randomize 'Random B'
|
¤ Randomize 'Random C'
|
¤ Randomize 'Random D'
|
¤ Preserve Trigger |
Also appearing to work fine.
Here is what I can't get to work, the actual nuking. Here is what I have:
Trigger |
Description: |
Actually Nuking |
|
Players: |
¤ Player 8 (Computer I Want to Nuke) |
Conditions: |
¤ 'Randomize ON' is 'Set'
|
¤ 'Random A' is 'Cleared'
|
¤ 'Random B' is 'Cleared'
|
¤ 'Random C' is 'Cleared'
|
¤ 'Random D' is 'Cleared' |
Actions: |
¤ Clear 'Randomize ON'
|
¤ Execute AI script 'AI Nuke Here' at 'Nuke Zone 01'
|
¤ Preserve Trigger |
The Computer (8) has a ghost in range of the location 'Nuke Zone 01'
11 Command Centers each with Nuclear Silos.
And the money to buy a nuke
I set the nuke cost to '1' gas and the time to '1' and gave the computer 1000 gas.
I also do have every a trigger for every possible combination of the randomization. 'Nuke' switch IS being set on correctly.
For extra measure, I removed the option to buy ANYTHING except a nuke.
Where did I go wrong?