• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[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.
 
Level 6
Joined
Mar 20, 2008
Messages
208
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.
 
Level 16
Joined
Oct 12, 2008
Messages
1,570
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.
Top