• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Hero Selection does not work

Status
Not open for further replies.
Level 2
Joined
May 25, 2011
Messages
11
Hello,

So I'm pretty new to triggers, trying to make a hero selection but it does not work, here's the code:
  • slcRgn1
    • Events
      • Unit - A unit enters selectFootman <gen>
    • Conditions
    • Actions
      • Unit - Create 1 Footman for (Owner of (Triggering unit)) at (Center of Spawn <gen>) facing Default building facing degrees
      • Set plrUnit[(Player number of (Owner of (Triggering unit)))] = (Last created unit)
      • Unit - Remove (Triggering unit) from the game
      • Trigger - Turn off (This trigger)
What's the problem?
 
The only thing I can see is it turns itself off after running once, meaning it will only work for a single player. If you have some other problem with it, it's not this trigger that's causing it.
 
I will upload a map! Here it is:

*---* EDIT *---*

Removed attachement cause the probem is solved!
 
Last edited:
Status
Not open for further replies.
Back
Top