View Full Version : need help
moizaka
09-29-2008, 06:18 PM
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?
Avator
09-29-2008, 06:26 PM
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:
Restor
09-29-2008, 06:27 PM
well, you can also add selection option, to make player to have the new unit selected
or give to unit the ability to change to another unit just like crow form
Fengik
09-29-2008, 08:44 PM
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 ^^
moizaka
09-30-2008, 05:59 PM
k thankyou all big help
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.
Search Engine Optimization by
vBSEO 3.5.1 PL2