• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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?
 
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:
 
  • 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.
Back
Top