- Joined
- Apr 29, 2012
- Messages
- 20
Came across some more issues on another spell im trying to make. What I want to happen is your unit seemingly dissappears ( hence the hide functions ) then reappars at the targetted enemy shortly afterwards, with a big special effect. here's my triggers so far:
Thats the main issue, but I have another problem aswell.
For the special effect, i have created a unit and changed the model to the effect. I can see the unit effect fine when placed in the editor, but ingame the effect is nowhere to be found!
Anyone have any ideas on these two questions?
-
Grand Discharge
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Grand Discharge
-
Actions
- Unit - Pause (Triggering unit)
- Unit - Hide (Triggering unit)
- Wait 2.20 seconds
- Set tempPoint[1] = (Position of (Target unit of ability being cast))
- Unit - Unhide (Triggering unit)
- Unit - Unpause (Triggering unit)
- Unit - Move (Triggering unit) instantly to tempPoint[1], facing (Position of (Target unit of ability being cast))
- Unit - Create 1 Grand Discharge for Neutral Passive at tempPoint[1] facing Default building facing degrees
- Set GrandDischarge = (Last created unit)
- Unit - Cause (Triggering unit) to damage circular area after 0.01 seconds of radius 450.00 at (Position of (Triggering unit)), dealing 400.00 damage of attack type Chaos and damage type Normal
- Wait 1.10 seconds
- Custom script: call RemoveLocation(udg_tempPoint[1])
- Unit - Remove GrandDischarge from the game
-
Events
Thats the main issue, but I have another problem aswell.
For the special effect, i have created a unit and changed the model to the effect. I can see the unit effect fine when placed in the editor, but ingame the effect is nowhere to be found!
Anyone have any ideas on these two questions?