Roku
New Member
- Reaction score
- 3
Hey.
Another basic thing i am attempting to do is make a dummy unit cast Death and Decay (edited the original one with a custom one, changed it to unit ability etc.) on a random point in a region. This should happen every 6 seconds. Because Death and Decay is a channeling ability i added a 24 seconds (thats how long the spell should last, and thats the value set in object editor) expiration timer so it can channel it to the end. However when i test this in game nothing happens.
The message is running, i can see it, so basically its something wrong with the trigger or the mechanics this spell works.
Another basic thing i am attempting to do is make a dummy unit cast Death and Decay (edited the original one with a custom one, changed it to unit ability etc.) on a random point in a region. This should happen every 6 seconds. Because Death and Decay is a channeling ability i added a 24 seconds (thats how long the spell should last, and thats the value set in object editor) expiration timer so it can channel it to the end. However when i test this in game nothing happens.
Code:
Death and Decay
Events
Time - Every 6.00 seconds of game time
Conditions
Actions
Set Point = (Random point in Boss Fight Area <gen>)
Game - Display to (All players) the text: DnD!
Unit - Create 1 dummy for Player 12 (Brown) at (Center of Boss Fight Area <gen>) facing Default building facing degrees
Unit - Add Death and Decay to (Last created unit)
Unit - Order (Last created unit) to Undead Lich - Death And Decay Point
Unit - Add a 24.00 second Generic expiration timer to (Last created unit)
Custom script: call RemoveLocation(udg_Point)
The message is running, i can see it, so basically its something wrong with the trigger or the mechanics this spell works.