- Joined
- Jun 1, 2009
- Messages
- 38
Diffuculty-3/10
Hello all again its Kronos21 bringing you more Triggers.
This trigger tutorial is very easy to be surprised.So here it is
Variables-
RandomItemDrop(Integer 0 Array)
Respawn
(Hint:This is really easy)Diffuculty -1/10
And thats it people look for more of my tutorials later on for Triggers,Help,etc.
By-
Kronos21
Hello all again its Kronos21 bringing you more Triggers.
This trigger tutorial is very easy to be surprised.So here it is
Variables-
RandomItemDrop(Integer 0 Array)
-
Events
-
Unit - A unit Dies
-
Conditions
-
(Owner of(Dying unit)) equal to Neutral Hostile
-
(Unit-type of (Dying unit)) equal to NPC here
-
Actions
-
Set RandomItemDrop = (Random Integer number between 1 and #)
-
If (RandomItemDrop Equal to 1) then do (Item - Create Itemhere at position of Dying unit) else (Do nothing)
-
|Set RandomItemDrop = (Random Integer number between 1 and #)|
-
|If (RandomItemDrop Equal to 1) then do (Item - Create Itemhere at position of Dying unit) else (Do nothing)|
Respawn
(Hint:This is really easy)Diffuculty -1/10
-
Events
-
Unit - A Unit dies
-
Conditions
-
(Owner of(Dying unit)) Equal to Neutral Hostile
-
Actions
-
Unit - Create 1 (Unit-type or (Dying unit) for Neutral Hostile at (Random Point in (Region where units spawn) facing Default building facing degrees
And thats it people look for more of my tutorials later on for Triggers,Help,etc.
By-

