- Joined
- May 22, 2009
- Messages
- 491
OK this is my trigger and it worked until I tried to make it where when the unit transforms he gets the item he picked up the game freezes then crashes.
This script isn't for a certain map so I don't care if its buggy/leaks I'm just doing this for fun.
Unit - A unit owned by Player 1 (Red) Acquires an item
(Item-type of (Item being manipulated)) Equal to Dark Robes
Unit - Remove (Triggering unit) from the game
Unit - Create 1 Dark Priest for (Triggering player) at (Position of (Triggering unit)) facing Default building facing degrees
Hero - Create Dark Robes and give it to (Last created unit)
(Item-type of (Item being manipulated)) Equal to Dark Robes
Unit - Remove (Triggering unit) from the game
Unit - Create 1 Dark Priest for (Triggering player) at (Position of (Triggering unit)) facing Default building facing degrees
Hero - Create Dark Robes and give it to (Last created unit)
This script isn't for a certain map so I don't care if its buggy/leaks I'm just doing this for fun.