• 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.

need help

Status
Not open for further replies.
Level 3
Joined
May 3, 2008
Messages
16
if i want a unit to change into a new unit by buying a tome would i need to do a trigger(i can do most bacis triggers) or do i just need to make a fancy special tome if its a trigger would it look something like this

events
unit buys a item
conditions
unit equal to
item equal to
actions
create unit at triggering unit
remove triggering unit

and would that work?
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
You need to make a trigger for that. And the trigger concept you posted is good, but I suggest you use the 'Unit - Specific Unit Acquires an item', so you don't need the condition, and 'Unit - Replace Unit' Action instead of creating and removing the unit. :wink:
 
Level 3
Joined
Mar 12, 2007
Messages
62
  • Untitled Trigger 001
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Unit-type of (Hero manipulating item)) Equal to Your Unit
      • (Item being manipulated) Equal to Your Item
    • Actions
      • Unit - Replace (Hero manipulating item) with a Your unit using The new unit's default life and mana
I think this should work but im not 100% sure as its from the back of my head ^^
 
Status
Not open for further replies.
Top