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
Warcraft Guitar Hero.w3x
Variables
Triggers
init
commands
reset
Red
Green
Blue
Yellow
bluedestruction
reddestruction
greendestruction
yellowdestruction
Redmark
Redunmark
Redplay
Greenmark
Greenunmark
Greenplay
Bluemark
Blueunmark
Blueplay
Yellowmark
Yellowunmark
Yellowplay
Songs
song1
song2
song2 Copy
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
markedunitblue
unit
Yes
UnitNull
markedunitgreen
unit
Yes
UnitNull
markedunitred
unit
Yes
UnitNull
markedunityellow
unit
Yes
UnitNull
init
Events
Map initialization
Conditions
Actions
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Visibility - Disable fog of war
Visibility - Disable black mask
Camera - Lock camera target for Player 1 (Red) to Guitar Hero 0006 <gen> , offset by ( 0 , 0 ) using Default rotation
Sound - Stop music Immediately
Sound - Clear the music list
Selection - Select Guitar Hero 0006 <gen> for Player 1 (Red)
Trigger - Run commands <gen> (ignoring conditions)
commands
Events
Player - Player 1 (Red) types a chat message containing commands (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to (All players) the text: song1 (plays the song)1 (sends red wisp)2 (green wisp)3 (blue wisp4 (yellow wisp)reset (resets gold and lumber)commands (shows this list)
reset
Events
Player - Player 1 (Red) types a chat message containing reset (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to 0
Player - Set Player 1 (Red) . Current lumber to 0
Red
Events
Player - Player 1 (Red) types a chat message containing 1 (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Create 1 . Wisp for Neutral Passive at (Center of Red <gen>) facing Default building facing degrees
Animation - Change (Last created unit) 's vertex coloring to ( 100 %, 0.00 %, 0.00 %) with 0 % transparency
Unit - Order (Last created unit) to Move To . (Center of Red_Copy <gen>)
Green
Events
Player - Player 1 (Red) types a chat message containing 2 (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Create 1 . Wisp for Neutral Passive at (Center of Green <gen>) facing Default building facing degrees
Animation - Change (Last created unit) 's vertex coloring to ( 0.00 %, 100.00 %, 0.00 %) with 0 % transparency
Unit - Order (Last created unit) to Move To . (Center of Green_Copy <gen>)
Blue
Events
Player - Player 1 (Red) types a chat message containing 3 (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Create 1 . Wisp for Neutral Passive at (Center of Blue <gen>) facing Default building facing degrees
Animation - Change (Last created unit) 's vertex coloring to ( 0.00 %, 0.00 %, 100.00 %) with 0 % transparency
Unit - Order (Last created unit) to Move To . (Center of Blue_Copy <gen>)
Yellow
Events
Player - Player 1 (Red) types a chat message containing 4 (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Create 1 . Wisp for Neutral Passive at (Center of Yellow <gen>) facing Default building facing degrees
Animation - Change (Last created unit) 's vertex coloring to ( 100 %, 100.00 %, 0.00 %) with 0 % transparency
Unit - Order (Last created unit) to Move To . (Center of Yellow_Copy <gen>)
bluedestruction
Events
Unit - A unit enters Blue_Copy <gen>
Conditions
Actions
Unit - Remove (Triggering unit) from the game
Special Effect - Create a special effect at (Center of Blue_Copy <gen>) using Units\NightElf\Wisp\WispExplode.mdl
Special Effect - Destroy (Last created special effect)
Game - Display to (All players) the text: You suck!
Player - Add 1 to Player 1 (Red) . Current lumber
reddestruction
Events
Unit - A unit enters Red_Copy <gen>
Conditions
Actions
Unit - Remove (Triggering unit) from the game
Special Effect - Create a special effect at (Center of Red_Copy <gen>) using Units\NightElf\Wisp\WispExplode.mdl
Special Effect - Destroy (Last created special effect)
Game - Display to (All players) the text: You suck!
Player - Add 1 to Player 1 (Red) . Current lumber
greendestruction
Events
Unit - A unit enters Green_Copy <gen>
Conditions
Actions
Unit - Remove (Triggering unit) from the game
Special Effect - Create a special effect at (Center of Green_Copy <gen>) using Units\NightElf\Wisp\WispExplode.mdl
Special Effect - Destroy (Last created special effect)
Game - Display to (All players) the text: You suck!
Player - Add 1 to Player 1 (Red) . Current lumber
yellowdestruction
Events
Unit - A unit enters Yellow_Copy <gen>
Conditions
Actions
Unit - Remove (Triggering unit) from the game
Special Effect - Create a special effect at (Center of Yellow_Copy <gen>) using Units\NightElf\Wisp\WispExplode.mdl
Special Effect - Destroy (Last created special effect)
Game - Display to (All players) the text: You suck!
Player - Add 1 to Player 1 (Red) . Current lumber
Redmark
Events
Unit - A unit enters Red_Copy_Copy <gen>
Conditions
Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
markedunitred[(Integer A)] Equal to No unit
Then - Actions
Set Variable Set markedunitred[(Integer A)] = (Triggering unit)
Skip remaining actions
Else - Actions
Redunmark
Events
Unit - A unit leaves Red_Copy_Copy <gen>
Conditions
Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to markedunitred[(Integer A)]
Then - Actions
Set Variable Set markedunitred[(Integer A)] = No unit
Else - Actions
Redplay
Events
Unit - Guitar Hero 0006 <gen> Starts the effect of an ability
Conditions
(Ability being cast) Equal to Red
Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
markedunitred[(Integer A)] Not equal to No unit
(Red_Copy_Copy <gen> contains markedunitred[(Integer A)]) Equal to True
Then - Actions
Player - Add 1 to Player 1 (Red) . Current gold
Unit - Remove markedunitred[(Integer A)] from the game
Set Variable Set markedunitred[(Integer A)] = No unit
Special Effect - Create a special effect at (Center of Red_Copy_Copy <gen>) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Skip remaining actions
Else - Actions
Game - Display to (All players) the text: You suck!
Greenmark
Events
Unit - A unit enters Green_Copy_Copy <gen>
Conditions
Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
markedunitgreen[(Integer A)] Equal to No unit
Then - Actions
Set Variable Set markedunitgreen[(Integer A)] = (Triggering unit)
Skip remaining actions
Else - Actions
Greenunmark
Events
Unit - A unit leaves Green_Copy_Copy <gen>
Conditions
Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to markedunitgreen[(Integer A)]
Then - Actions
Set Variable Set markedunitgreen[(Integer A)] = No unit
Else - Actions
Greenplay
Events
Unit - Guitar Hero 0006 <gen> Starts the effect of an ability
Conditions
(Ability being cast) Equal to Green
Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
markedunitgreen[(Integer A)] Not equal to No unit
(Green_Copy_Copy <gen> contains markedunitgreen[(Integer A)]) Equal to True
Then - Actions
Player - Add 1 to Player 1 (Red) . Current gold
Unit - Remove markedunitgreen[(Integer A)] from the game
Set Variable Set markedunitgreen[(Integer A)] = No unit
Special Effect - Create a special effect at (Center of Green_Copy_Copy <gen>) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Skip remaining actions
Else - Actions
Game - Display to (All players) the text: You suck!
Bluemark
Events
Unit - A unit enters Blue_Copy_Copy <gen>
Conditions
Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
markedunitblue[(Integer A)] Equal to No unit
Then - Actions
Set Variable Set markedunitblue[(Integer A)] = (Triggering unit)
Skip remaining actions
Else - Actions
Blueunmark
Events
Unit - A unit leaves Blue_Copy_Copy <gen>
Conditions
Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to markedunitblue[(Integer A)]
Then - Actions
Set Variable Set markedunitblue[(Integer A)] = No unit
Else - Actions
Blueplay
Events
Unit - Guitar Hero 0006 <gen> Starts the effect of an ability
Conditions
(Ability being cast) Equal to Blue
Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
markedunitblue[(Integer A)] Not equal to No unit
(Blue_Copy_Copy <gen> contains markedunitblue[(Integer A)]) Equal to True
Then - Actions
Player - Add 1 to Player 1 (Red) . Current gold
Unit - Remove markedunitblue[(Integer A)] from the game
Set Variable Set markedunitblue[(Integer A)] = No unit
Special Effect - Create a special effect at (Center of Blue_Copy_Copy <gen>) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Skip remaining actions
Else - Actions
Game - Display to (All players) the text: You suck!
Yellowmark
Events
Unit - A unit enters Yellow_Copy_Copy <gen>
Conditions
Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
markedunityellow[(Integer A)] Equal to No unit
Then - Actions
Set Variable Set markedunityellow[(Integer A)] = (Triggering unit)
Skip remaining actions
Else - Actions
Yellowunmark
Events
Unit - A unit leaves Yellow_Copy_Copy <gen>
Conditions
Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to markedunityellow[(Integer A)]
Then - Actions
Set Variable Set markedunityellow[(Integer A)] = No unit
Else - Actions
Yellowplay
Events
Unit - Guitar Hero 0006 <gen> Starts the effect of an ability
Conditions
(Ability being cast) Equal to Yellow
Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
markedunityellow[(Integer A)] Not equal to No unit
(Yellow_Copy_Copy <gen> contains markedunityellow[(Integer A)]) Equal to True
Then - Actions
Player - Add 1 to Player 1 (Red) . Current gold
Unit - Remove markedunityellow[(Integer A)] from the game
Set Variable Set markedunityellow[(Integer A)] = No unit
Special Effect - Create a special effect at (Center of Yellow_Copy_Copy <gen>) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Skip remaining actions
Else - Actions
Game - Display to (All players) the text: You suck!
song1
Events
Player - Player 1 (Red) types a chat message containing song1 (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Sound - Play PH1 <gen> at 100 % volume, attached to Guitar Hero 0006 <gen>
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Yellow <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.80 seconds
Trigger - Run Yellow <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 1.00 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.80 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.80 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.80 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Yellow <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.80 seconds
Trigger - Run Yellow <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 1.00 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.80 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.80 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.80 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Yellow <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Yellow <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Yellow <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Blue <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Green <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 0.40 seconds
Trigger - Run Red <gen> (ignoring conditions)
Wait 5.00 seconds
Sound - Stop PH1 <gen> After fading
song2
Events
Player - Player 1 (Red) types a chat message containing song2 (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 4) Equal to 1
Then - Actions
Trigger - Run Blue <gen> (ignoring conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 4) Equal to 2
Then - Actions
Trigger - Run Red <gen> (ignoring conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 4) Equal to 3
Then - Actions
Trigger - Run Green <gen> (ignoring conditions)
Else - Actions
Trigger - Run Yellow <gen> (ignoring conditions)
Wait 0.80 seconds
Trigger - Run (This trigger) (checking conditions)
song2 Copy
Events
Player - Player 1 (Red) types a chat message containing song2 (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Sound - Play War2IntroMusic <gen> at 100 % volume, attached to Guitar Hero 0006 <gen>
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.