- Joined
- Apr 7, 2009
- Messages
- 8
I'm quite new to the world editor, and have been experimenting with some
triggered spells, recently i made a dummy and forgot to set food used to 0
(it was at 1) and after using my spell a few times, i noticed my food just
kept increasing the logical reaction was "oh, i forgot to add an expiration
timer to my dummy" i checked trough my trigger and found that i actually
had added the "add a 1 second generic expiration timer to last created
unit" on the first line after i created the dummy what have i done wrong?
any help is greatly appreciated.
//Sarastrasza
triggered spells, recently i made a dummy and forgot to set food used to 0
(it was at 1) and after using my spell a few times, i noticed my food just
kept increasing the logical reaction was "oh, i forgot to add an expiration
timer to my dummy" i checked trough my trigger and found that i actually
had added the "add a 1 second generic expiration timer to last created
unit" on the first line after i created the dummy what have i done wrong?
any help is greatly appreciated.
//Sarastrasza
-
Ultimate
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Thunder Clap
-
-
Actions
-
Set int_level_1 = (Level of (Ability being cast) for (Triggering unit))
-
Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) belongs to an enemy of (Triggering player)) Equal to True))) and do (Actions)
-
Loop - Actions
-
Set Unit_ulti_1 = (Picked unit)
-
Set point_ulti_1 = ((Position of (Picked unit)) offset by (0.00, 250.00))
-
Unit - Create 1 Flying Dummy for (Triggering player) at point_ulti_1 facing 0.00 degrees
-
Unit - Add Ultimate to (Last created unit)
-
Unit - Set level of Ultimate for (Last created unit) to int_level_1
-
Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning Unit_ulti_1
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation ( udg_point_ulti_1 )
-
-
-
-