- Joined
- May 11, 2010
- Messages
- 278
This worked until just a few minutes ago.
None of the functions (the special effect, the spawn) happens, but if i add a game message it's displayed correctly. It seems the triggers run, but the functions don't...
-
Spawn warning
-
Events
- Time - Every 10.00 seconds of game time
- Conditions
-
Actions
- Set TempPoint = (Random point in Region 000 <gen>)
- Hashtable - Save Handle OfTempPoint as (Key batspawnpoint) of 0 in BatSpawnTable
- Countdown Timer - Start batspawntimer as a One-shot timer that will expire in 9.90 seconds
- Custom script: call RemoveLocation(udg_TempPoint)
-
Events
-
Spawn warning loop
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
- Custom script: local effect udg_TempSfx
- Set TempPoint = (Load (Key batspawnpoint) of 0 in BatSpawnTable)
- Special Effect - Create a special effect at TempPoint using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
- Set specialeffect = (Last created special effect)
- Custom script: call RemoveLocation(udg_TempPoint)
- Wait 0.90 game-time seconds
- Special Effect - Destroy specialeffect
- Custom script: set udg_TempSfx = null
-
Events
-
Spawn
-
Events
- Time - batspawntimer expires
- Conditions
-
Actions
- Set TempPoint = (Load (Key batspawnpoint) of 0 in BatSpawnTable)
- Unit - Create 1 Batrider for Neutral Passive at TempPoint facing Default building facing degrees
- Unit Group - Add (Last created unit) to Bats
- Custom script: call RemoveLocation(udg_TempPoint)
-
Events