HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Will this trigger work?

06-03-2004, 11:38 PM#1
Redesh
Events
Unit - A unit Is issued an order targeting an object]
Conditions
And - All (Conditions) are true
Conditions
(Unit-type of (Target unit of issued order)) Equal to Gold Gift Caravan
(Ability being cast) Equal to Accept Caravan
(Owner of (Target if issued order)) Not equal to (Owner of (Ordered unit))
Actions
Unit - remove (Target unit of issued order from game)
Player add 750 gold to (Owner of (Ordered unit)) Current gold)


I think it might work because of the target unit of issued order condition since that was an improvement of target unit condition. And if you know it won't work please give me the triggers that will make the caravan unit dissapear when targeted by accept ability and give owner of unit that used accept ability 750 gold.
06-04-2004, 12:11 AM#2
LegolasArcher
Events
Unit - A unit (Begins Casting An Ability)
Conditions
(Unit-type of (Target Unit of Ability being cast)) Equal to Gold Gift Caravan
(Ability being cast) Equal to Accept Caravan
(Owner of (Target Unit of Ability Being Cast)) Not equal to (Owner of (Casting Unit))
Actions
Unit - Remove (Target unit of Ability Being Cast)
Player add 750 gold to (Owner of (Casting Unit)) Current gold)
06-04-2004, 08:52 PM#3
Redesh
The trigger doesn't work. I need a trigger that when a caravan is targeted by accept caravan ability it will disapear and give the unit who targeted the caravan some gold.
06-05-2004, 04:01 PM#4
Redesh
It might work if I could find "target unit of ability being cast"
06-05-2004, 05:42 PM#5
Shimrra
It's under "Event Response - Target of Ability Being Cast"
06-05-2004, 09:22 PM#6
Scyze
There is an alternative, even though you might have already fixed this. You could use the Event: Unit - Unit is issued an order targeting a unit, the conditions: (Issued order) equal to (base spell command string here), (Unit type of (Target unit of issued order)) equal to (Gold Caravan), then do the actions with the correct event responses.