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

Please Answer my questions

Status
Not open for further replies.
Level 4
Joined
Feb 27, 2006
Messages
49
1. i want to attach some specieleffects on my hero legs, hands etc permently frem the moment you select that hero these effects are attached.

2. my next problem is that have made trigger to spawn units to enter different regions my but i want the units to stop spawning to a region if all the players in that region left the game. if there is players there there will still come units.
 
Level 3
Joined
Mar 2, 2006
Messages
40
1. I use abilities. I could exlain it to you, but somebody has already written a tutorial about it here


2.
a) Well if just one player is in that region
Code:
Stop Spawning
    Events
        Player - Player 1 (Red) leaves the game
    Conditions
    Actions
        Trigger - Turn off (Spwan_In_Some_Region)
b) For more players :
Code:
Stop Spawning
    Events
        Player - Player 1 (Red) leaves the game
        Player - Player 2 (Blue) leaves the game
        Player - Player 3 (Teal) leaves the game
        Player - Player 4 (Purple) leaves the game
    Conditions
        (Player 1 (Red) slot status) Equal to Has left the game
        (Player 2 (Blue) slot status) Equal to Has left the game
        (Player 3 (Teal) slot status) Equal to Has left the game
        (Player 4 (Purple) slot status) Equal to Has left the game
    Actions
        Trigger - Turn off (Spawn_In_Some_Region)
 
Status
Not open for further replies.
Top