• 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.

I need help^^'

Status
Not open for further replies.
Level 1
Joined
Sep 28, 2019
Messages
1
Hello everyone. I am new to thehiveworkshop and I need your hive mind. :-D
Can anyone tell me why this trigger is not working? It's supposed to teleport al heroes to a boss arena.
Regards :)
 

Attachments

  • whydoesitnotwork.JPG
    whydoesitnotwork.JPG
    74 KB · Views: 32
Level 42
Joined
Feb 27, 2007
Messages
5,312
That condition will never evaluate to true because there is no Picked Unit at the time it’s evaluated. You need to put an if statement inside the Unit Group Pick loop and use the condition there.

There’s no need to put the camera pans inside the loop (they would execute one time each for every unit picked) so you can either put them all after the Pick or leave one inside but change the player to Owner of (Picked Unit).

You’re also leaking some points and unit group. While these couple are not a problem, leaks in general will build up over time and make your map unplayable. You can learn how to fix them here: Things That Leak
 
Status
Not open for further replies.
Top