• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your 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