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!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
(2)GhoulBoy.w3x
Variables
Initialisation
Initialisation
Cinematique
Yee Haw
Time
Compteur
Time Start
Autres
Score
Music
Ghouls spawn
Start Ghouls spawn
Ghouls spawn
Player Score
Add 1 to Red
Add 1 to Blue
Penalty Red
Penalty Blue
Victory\Defeat
Victory Red
Victory Blue
Egality
Eg Red
Eg Blue
DEBUG
Time Go
Entrez le code script personnalisé spécifique à la carte ci-dessous. Ce texte sera inclus dans le script de la carte après que les variables auront été déclarées et avant tout code de déclencheur.
Name
Type
is_array
initial_value
Score_Blue
integer
No
Score_Multitable
multiboard
No
Score_Red
integer
No
Time_Board
leaderboard
No
Time_Compteur
timer
No
Initialisation
Events
Map initialization
Conditions
Actions
Trigger - Run Cinematique <gen> (checking conditions)
Wait 4.00 seconds
-------- Time and Players --------
Game - Turn the day/night cycle Off
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across (Playable map area)
Wait 1.00 seconds
Sound - Stop music Immediately
Sound - Play War2IntroMusic <gen>
Sound - Set volume of War2IntroMusic <gen> to 60.00 %
-------- Set Boards --------
Trigger - Run Time_Start <gen> (checking conditions)
Trigger - Run Score <gen> (checking conditions)
-------- Set Ghouls --------
Wait 2.00 seconds
Trigger - Run Start_Ghouls_spawn <gen> (checking conditions)
Cinematique
Events
Conditions
Actions
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Disable user control for (All players) .
Cinematic - Fade out over 0.00 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 1.00 seconds
Sound - Stop music Immediately
Game - Display to (All players) the text: 1...
Sound - Play BattleNetTick <gen>
Wait 1.00 seconds
Game - Display to (All players) the text: 2...
Sound - Play BattleNetTick <gen>
Wait 1.00 seconds
Game - Display to (All players) the text: 3...
Sound - Play BattleNetTick <gen>
Wait 1.00 seconds
Sound - Play ArrangedTeamInvitation <gen>
Cinematic - Turn cinematic mode Off for (All players)
Cinematic - Fade in over 1.00 seconds using texture White Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Cinematic - Enable user control for (All players) .
Sound - Play Yee_Haw <gen>
Yee Haw
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Furie du Cow Boy
Actions
Sound - Play Yee_Haw <gen> at 100 % volume, attached to (Casting unit)
Time Start
Events
Conditions
Actions
Countdown Timer - Create a timer window for Time_Compteur with title Temps restant
Countdown Timer - Start Time_Compteur as a One-shot timer that will expire in 1200.00 seconds
Countdown Timer - Show (Last created timer window) for Player 1 (Red)
Countdown Timer - Show (Last created timer window) for Player 2 (Blue)
Score
Events
Conditions
Actions
Multiboard - Create a multiboard with 2 columns and 2 rows, titled Scores .
Set Variable Set Score_Multitable = (Last created multiboard)
-------- Player 1 --------
Multiboard - Set the text for Score_Multitable item in column 1 , row 1 to Score Rouge
Multiboard - Set the text for Score_Multitable item in column 2 , row 1 to 0
Multiboard - Set the icon for (Last created multiboard) item in column 2 , row 1 to ReplaceableTextures\CommandButtons\BTNGhoul.blp
Multiboard - Set the display style for Score_Multitable item in column 1 , row 1 to Show text and Hide icons
-------- Player 2 --------
Multiboard - Set the text for Score_Multitable item in column 1 , row 2 to Score Bleu
Multiboard - Set the text for Score_Multitable item in column 2 , row 2 to 0
Multiboard - Set the icon for (Last created multiboard) item in column 2 , row 2 to ReplaceableTextures\CommandButtons\BTNGhoul.blp
Multiboard - Set the display style for Score_Multitable item in column 1 , row 2 to Show text and Hide icons
-------- Multitable --------
Multiboard - Set the width for Score_Multitable item in column 1 , row 0 to 8.50 % of the total screen width
Multiboard - Set the width for Score_Multitable item in column 2 , row 0 to 3.00 % of the total screen width
Multiboard - Show Score_Multitable
Multiboard - Maximize Score_Multitable
Music
Events
Time - Every 75.00 seconds of game time
Conditions
Actions
Sound - Play War2IntroMusic <gen>
Sound - Set volume of War2IntroMusic <gen> to 70.00 %
Start Ghouls spawn
Events
Conditions
Actions
Unit - Create 10 . Ghoul for Neutral Extra at (Center of GhoulStart <gen>) facing (Random real number between 0 and 360.00) degrees
Special Effect - Create a special effect at (Center of GhoulStart <gen>) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
Ghouls spawn
Events
Time - Every 50.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Ghoul for Neutral Extra at (Center of GhoulStart <gen>) facing (Random angle) degrees
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
Add 1 to Red
Events
Unit - A unit enters CimRed <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Ghoul
Actions
Set Variable Set Score_Red = (Score_Red + 1)
Multiboard - Set the text for Score_Multitable item in column 2 , row 1 to (String(Score_Red))
Sound - Play GhoulReady1 <gen> at 100 % volume, located at (Position of (Entering unit)) with Z offset 0
Unit - Move (Entering unit) instantly to (Random point in Rouge <gen>)
Unit - Change ownership of (Entering unit) to Player 1 (Red) and Change color
Add 1 to Blue
Events
Unit - A unit enters CimBlue <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Ghoul
Actions
Set Variable Set Score_Blue = (Score_Blue + 1)
Multiboard - Set the text for Score_Multitable item in column 2 , row 2 to (String(Score_Blue))
Sound - Play GhoulReady1 <gen> at 100 % volume, located at (Position of (Entering unit)) with Z offset 0
Unit - Move (Entering unit) instantly to (Random point in Bleu <gen>)
Unit - Change ownership of (Entering unit) to Player 2 (Blue) and Change color
Penalty Red
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Ghoul
(Owner of (Killing unit)) Equal to Player 1 (Red)
Actions
Quest - Display to Player Group - Player 1 (Red) the Warning message: |c00ff0000ATTENTION|r - Vous avez tué un Goule ! 1 point de moin !
Set Variable Set Score_Red = (Score_Red - 1)
Multiboard - Set the text for Score_Multitable item in column 2 , row 1 to (String(Score_Red))
Penalty Blue
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Ghoul
(Owner of (Killing unit)) Equal to Player 2 (Blue)
Actions
Quest - Display to Player Group - Player 2 (Blue) the Warning message: |c00ff0000ATTENTION|r - Vous avez tué un Goule ! 1 point de moin !
Set Variable Set Score_Red = (Score_Red - 1)
Multiboard - Set the text for Score_Multitable item in column 2 , row 1 to (String(Score_Red))
Victory Red
Events
Time - Time_Compteur expires
Conditions
Score_Red Greater than Score_Blue
Actions
Trigger - Turn off (This trigger)
Sound - Play ArrangedTeamInvitation <gen>
Cinematic - Disable user control for (All players) .
Wait 2 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Skip scores)
Game - Defeat Player 2 (Blue) with the message: Défaite !
Victory Blue
Events
Time - Time_Compteur expires
Conditions
Score_Blue Greater than Score_Red
Actions
Trigger - Turn off (This trigger)
Sound - Play ArrangedTeamInvitation <gen>
Cinematic - Disable user control for (All players) .
Wait 2 seconds
Game - Victory Player 2 (Blue) ( Show dialogs, Skip scores)
Game - Defeat Player 1 (Red) with the message: Défaite !
Egality
Events
Time - Time_Compteur expires
Conditions
Score_Red Equal to Score_Blue
Actions
Trigger - Turn off (This trigger)
Sound - Play CreepAggroWhat1 <gen>
Game - Display to (All players) the text: |cffffdeadEGALITE|r - Celui qui marque est le gagnant !
Trigger - Turn on Eg_Red <gen>
Trigger - Turn on Eg_Blue <gen>
Eg Red
Events
Unit - A unit enters CimRed <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Ghoul
Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Defeat Player 2 (Blue) with the message: Défaite !
Eg Blue
Events
Unit - A unit enters CimBlue <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Ghoul
Actions
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: Défaite !
Time Go
Events
Player - Player 1 (Red) types a chat message containing time (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Countdown Timer - Start Time_Compteur as a One-shot timer that will expire in 5.00 seconds
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.