- Joined
- Jul 21, 2015
- Messages
- 143
-
Tame a Panther
-
Events
-
Unit - A unit Loses an item
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Night Elf Runner
-
Or - Any (Conditions) are true
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to Deer Meat
-
(Item-type of (Item being manipulated)) Equal to Frog Meat
-
(Item-type of (Item being manipulated)) Equal to Rabbit Meat
-
(Item-type of (Item being manipulated)) Equal to Raccoon Meat
-
-
-
-
Actions
-
Custom script: local unit udg_TamePanther
-
Set VariableSet MeatPosition = (Position of (Item being manipulated))
-
Set VariableSet GroupPanther = (Units within 600.00 of MeatPosition matching (((Unit-type of (Matching unit)) Equal to Panther) and ((((Matching unit) is alive) Equal to True) and ((Owner of (Matching unit)) Equal to Neutral Passive))).)
-
Set VariableSet TamePanther = (Random unit from GroupPanther)
-
Custom script: call RemoveLocation( udg_MeatPosition )
-
Custom script: call DestroyGroup( udg_GroupPanther )
-
Wait 4.00 seconds
-
Unit - Order TamePanther to Right-Click (Item being manipulated)
-
Wait 4.00 seconds
-
Unit - Change ownership of TamePanther to (Owner of (Triggering unit)) and Change color
-
Custom script: set udg_TamePanther = null
-
-
Hi all so various people have contributed for me to craft this trigger, such as Uncle, Chaosium, and Pyrogasm in the thread:
[Solved] - Global Unit Event for Specific Type Help
but the issue I am experiencing now is that the Panther units only seem to pick up items that are Frog Meat. They never pick up for Deer Meat, Rabbit Meat, and Raccoon Meat. Would anyone know why this is happening? Thanks in advance!!
Last edited: