- Joined
- Mar 17, 2005
- Messages
- 135
Ok i want to make it so that a spawned unit drops a item. This is my trigger please tell me what i did wrong.
Event
Unit - A unit owned by Neutral Hostile Dies
ConditionsOr - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Equal to Dark Troll
(Unit-type of (Dying unit)) Equal to Arachnid
(Unit-type of (Dying unit)) Equal to Unbroken
Actions
Item - Create RandomItem[(Random integer number between 1 and 10)] at (Position of (Dying unit))
Thanks in advanced.
Event
Unit - A unit owned by Neutral Hostile Dies
ConditionsOr - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Equal to Dark Troll
(Unit-type of (Dying unit)) Equal to Arachnid
(Unit-type of (Dying unit)) Equal to Unbroken
Actions
Item - Create RandomItem[(Random integer number between 1 and 10)] at (Position of (Dying unit))
Thanks in advanced.