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

[Trigger] 3 WE Issues

Status
Not open for further replies.
Level 4
Joined
Jun 4, 2009
Messages
52
First Issue I present to you is that my unit spawn trigger Is somewhat fail. They spawn 15 seconds later, but they keep spawning, even if one doesn't die.
Code:
Unit Revival
    Events
        Unit - A unit Dies
    Conditions
        ((Triggering unit) is A ground unit) Equal to True
        Black Spider Equal to Black Spider
    Actions
        Wait 15.00 seconds
        Unit - Create 1 Black Spider for Neutral Hostile at (Random point in Region 002 <gen>) facing Default building facing degrees

Second Issue I present is that Heroes can only be picked by red (I added blue to test).
Part 1
Code:
Choose Hero
    Events
        Player - Player 2 (Blue) Selects a unit
        Player - Player 1 (Red) Selects a unit
    Conditions
    Actions
        Trigger - Turn on Choose Hero2 <gen>
        Set SelectedUnit = (Triggering unit)
Part 2
Code:
Choose Hero2
    Events
        Player - Player 2 (Blue) Presses the Up Arrow key
        Player - Player 1 (Red) Presses the Up Arrow key
    Conditions
    Actions
        Camera - Pan camera for (Triggering player) to (Position of (Last created unit)) over 0.00 seconds
        Unit - Create 1 (Unit-type of SelectedUnit) for (Triggering player) at (Center of Region 001 <gen>) facing Default building facing degrees
        Trigger - Turn off (This trigger)
        Trigger - Turn off Choose Hero <gen>

And my third issue is that my hero can only hit level 5, when I know I changed the max level to 100 (Although I would like 200 max).
See the attachment for the photo from in-game.
 
Last edited:
Status
Not open for further replies.
Top