- Joined
- Oct 9, 2015
- Messages
- 721
How can I apply MUI or MPI countdown timers instead of unit expiration timer on the triggers presented:
Trigger1:
I wanted to use countdown timers instead of this system because of it's performance superiority over the expiration timer system, can anyone help me achieve it ?
Trigger1:
-
X
-
Events
-
Unit - A unit Finishes casting an ability
-
-
Conditions
-
Actions
-
Set Loc1 = (Position of (Triggering unit))
-
Unit - Create 1 Dummy One for (Owner of (Triggering unit)) at Loc1 facing (Facing of (Triggering unit)) degrees
-
Custom script: call RemoveLocation(udg_Loc1)
-
Unit - Add a 0.31 second Generic expiration timer to (Last created unit)
-
-
-
Y
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Dummy One
-
-
Actions
-
Set Loc1 = (Position of (Triggering unit))
-
Unit - Create 1 Dummy Two for (Owner of (Triggering unit)) at Loc1 facing (Facing of (Triggering unit)) degrees
-
Unit - Add a 0.02 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation(udg_Loc1)
-
-
-
Z
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Dummy Two
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
CustomInteger[(Player number of (Owner of (Triggering unit)))] Greater than or equal to 10
-
-
Then - Actions
-
Set CustomInteger[(Player number of (Owner of (Triggering unit)))] = 0
-
-
Else - Actions
-
Set Loc1 = (Position of (Triggering unit))
-
Unit - Create 1 Dummy Two for (Owner of (Triggering unit)) at Loc1 facing (Facing of (Triggering unit)) degrees
-
Custom script: call RemoveLocation(udg_Loc1)
-
Unit - Add a 0.02 second Generic expiration timer to (Last created unit)
-
Set CustomInteger[(Player number of (Owner of (Triggering unit)))] = (CustomInteger[(Player number of (Owner of (Triggering unit)))] + 1)
-
-
-
-
I wanted to use countdown timers instead of this system because of it's performance superiority over the expiration timer system, can anyone help me achieve it ?
Last edited: