Help me! This simple trigger not working

Status
Not open for further replies.
Level 3
Joined
Nov 23, 2015
Messages
21
6s4bGMc.png
This is how it's done, the #2 and #3 are just copied several times and the starting and end position changed to what it's supposed to be. But for some reason the "bloodwing commander" will spawn, wait 15 seconds, go and killt he first barrel, go back to spawn then just stop. that's it.
please help me, what's wrong!?
 
Your third trigger's event deals with a destructible, so the game cannot recognise [triggering unit]. I don't know if there's a way to detect a destructible's destroyer, so imo just make a dummy unit that's a barrel and use [killing unit] instead in your third trigger.

PS: Tiggering Unit is the A Unit in your event triggers. Look at your second trigger, 'A unit enters Bloodwing commander spawn', the A unit is your triggering unit (it's also the Entering unit, but with triggering unit you can use waits).
 
The problem in all three triggers is the waits. You need to store your units in locals if you want to refer to them after a wait. Something like

  • Events
    • Unit - A unit enters Bloodwing Commander Spawn Bigger <>
  • Conditions
    • (Owner of (Triggering Unit)) Equal To Player 12 (Brown)
  • Actions
    • Custom script: local unit tr = GetTriggerUnit()
    • Wait 15.00 seconds
    • Custom script: call IssueTargetOrder( tr, "Attack", gg_dest_LTex_0369 )
    • Custom script: set tr = null
 
Status
Not open for further replies.
Back
Top