Triggers on a summoned unit : why do both units appear?

Siwao9

New Member
Reaction score
0
Hi,

My Hero has 2 "summon unit" spells and the triggers work fine when I only have one spell learned (the unit appears and follows the trigger instructions).
But when I have both spells learned, I only click one and both units appear.
(the first one is a delivery unit; I make it appear far away (like it comes from the city), change its owner to my ally after i summon it so I can't control it, make it come to me so I can auto-give (another trigger) him my items to deliver, the second one is a combat "pet" to attack my ennemies but only for 30 seconds and I don't want to control it to explore the map so I change it's owner to Ally)
.
.
.
Call Wyvern
Events
Unit - A unit Spawns a summoned unit
Conditions
(Unit-type of (Summoned unit)) Equal to Wyvern Transporter
(Unit-type of (Summoned unit)) Not equal to Bat Rider
Actions
Unit - Change ownership of (Summoned unit) to Player 6 (Orange) and Change color
Unit - Change color of (Summoned unit) to (Color of Player 6 (Orange))
Wait 6.00 seconds
Unit - Order (Summoned unit) to Follow (Summoning unit)
Wait 0.01 seconds
Camera - Lock camera target for Player 1 (Red) to (Summoned unit), offset by (0.00, 0.00) using Default rotation
Unit - Order (Summoned unit) to Follow (Summoning unit)
Wait 5.00 seconds
Sound - Play NetherDragonYes1 <gen>
Camera - Reset camera for Player 1 (Red) to standard game-view over 1.00 seconds
Camera - Pan camera for Player 1 (Red) to (Position of (Summoning unit)) over 1.00 seconds
Selection - Select (Summoning unit)
Wait 30.00 seconds
Unit - Order (Summoned unit) to Move To (Center of Region 006 <gen>)
.
.
.

So why do the Wyvern appears when I summon a Bat Rider?

Thanx in advance!

EDIT: Bat Rider trigger:
.
.
.
Call Bat Rider
Events
Unit - A unit Spawns a summoned unit
Conditions
(Unit-type of (Summoned unit)) Equal to Bat Rider
(Unit-type of (Summoned unit)) Not equal to Wyvern Transporter
Actions
Unit - Order (Summoned unit) to Follow (Summoning unit)
Selection - Select (Summoning unit)
Wait 30.00 seconds
Unit - Remove (Summoned unit) from the game.
.
.
.
AssistNaiwa
Events
Unit - Naiwa 0018 <gen> Is attacked
Conditions
Actions
Unit Group - Pick every unit in (Units of type Bat Rider) and do (Unit - Order (Picked unit) to Attack (Attacking unit))
.
.
.
(this one works tho)
 

Sim

Forum Administrator
Staff member
Reaction score
534
Sounds to me like your spells both have the same order string.
Make sure both of your spells do not share it. If necessary, make the spell again, based off another spell.

Here's what it looks like, with the example spell "Feral Spirit"

http://img15.imageshack.us/img15/1384/unleddgr.png
 

Siwao9

New Member
Reaction score
0
Thanx!

but I already changed it to a Bladestorm based spell and use trigger to make unit appear:
.
.
.
Call Wyvern
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to (B) Call Wyvern Transporter
Actions
Unit - Create 1 Wyvern Transporter for Player 6 (Orange) at ((Position of Naiwa) offset by (-2000.00, -2000.00)) facing Default building facing degrees
Unit - Order (Last created unit) to Follow Naiwa
Wait 2.00 seconds
Unit - Order (Last created unit) to Follow Naiwa
Wait 2.00 seconds
Unit - Order (Last created unit) to Follow Naiwa
Sound - Play NetherDragonYes1 <gen>
Selection - Select Naiwa
Trigger - Run Wyvern Collect <gen> (checking conditions)
.
.
.
so problem solved!

I'll keep your advice in mind tho!
:)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top