| 04-12-2005, 11:24 PM | #1 |
So I have yet another trigger that wont work. Probally for some small overlooked reason, but I've look over and over and even asked a friend who triggers, niether of us could figure it out. Code:
Fireball
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Set RandomSquareTile = (Random point in (Initial camera bounds))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at RandomFireballSquare) Equal to Dungeon - Square Tiles
Then - Actions
Unit - Order Demolisher 0022 <gen> to Attack Ground RandomFireballSquare
Else - Actions
Trigger - Run (This trigger) (checking conditions)the range and all that is set right, I checked over and over again...but he just wont attack, the demo just sits there doing nothing. |
| 04-13-2005, 12:05 AM | #2 |
It looks like you're changing variables. one second its randomsquaretile, then you're using randomfireballsquare. |
| 04-13-2005, 12:10 AM | #3 |
...oh... I knew that ^_^ |
| 04-13-2005, 01:46 AM | #4 |
Guest | I hate when that happens. I used to JS script in a different game and there would ALWAYS be a small error like that. |
