[Trigger] Help me make a trigger for this troll

Status
Not open for further replies.
Level 8
Joined
Nov 21, 2008
Messages
316
Ok in my map planet of the orcs when trolls pick up a weapon and use it, i want them to turn into tht kinda troll. for ex

Troll picks up a boomerng and equips it, i want it to turn into the shadowhuner hero.

CAN some1 help me make the trigger for things like tht.
 
1. Store item slots into local variables
2. Store experience into a local variable
3. Store its location
4. Store the direction its facing
5. Store its health and mana

5. Remove the unit
6. Create the new unit at its spot, facing the direction

7. Set the units experience, hide the effects
8. Give the unit its items
9. Set the units health and mana
10. Force the local player's F1 key

I think thats the jist of it.
If you have a trigger that gives them an ability as they pick up an item, it should trigger again as the obtain the old items.
 
Use 'Chaos' as base ability for the item,,
If it does not work on the item,, Check whenever a unit picks up an item,,
If it is troll, then check for every weapontype and add 'Chaos' then,,
Though i am not sure if that keeps the Experience etc (really, i dunno)
 
Status
Not open for further replies.
Back
Top