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
Highchool Loap occult.w3x
Variables
Initialization
Melee Initialization
quests
-name
credit for this trigger set
Red Name Change
Yellow Name Change
teal Name Change
Blue Name Change
Gray Name Change
Purple Name Change
Orange Name Change
Green Name Change
Pink Name Change
Light Blue Name Change
Dark Green Name Change
Brown Name Change
stagestuff
onstagesnow
onstagefog
onstagenothing
exitstage
onstagemoonlitnight
onstageraysofhope
onstagestormynight
zombie's stuff
hunt
zombie variable turn on
zombie variable turn off
spawn zombies
spawn zombies Copy
revive and repick
buy
buy Copy
repick
revive
school commands
open the front doors
close the front doors
girl's dorm stuff
sneek out the window
no boys alowed
fall into the bath
boy'sroom stuff
no girls alowed
out the window
in the window
football
toss the ball
monsters
turn werewolf
turn vampire
sacrifice for a demon
warning
werewolf
vampire
demon
monster abilities
the thirst
caveentrance1
sacrifice
back to the surface
Untitled Trigger 001
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
doorsopen
boolean
No
occult
boolean
No
vampirelimit
boolean
No
werewolfRed
boolean
Yes
zombieson
boolean
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Player - Make Player 12 (Brown) treat Player 1 (Red) as an Ally
Player - Make Player 12 (Brown) treat Player 2 (Blue) as an Ally
Player - Make Player 12 (Brown) treat Player 3 (Teal) as an Ally
Player - Make Player 12 (Brown) treat Player 4 (Purple) as an Ally
Player - Make Player 12 (Brown) treat Player 5 (Yellow) as an Ally
Player - Make Player 12 (Brown) treat Player 6 (Orange) as an Ally
Player - Make Player 12 (Brown) treat Player 7 (Green) as an Ally
Player - Make Player 12 (Brown) treat Player 8 (Pink) as an Ally
Player - Make Player 12 (Brown) treat Player 9 (Gray) as an Ally
Player - Make Player 12 (Brown) treat Player 10 (Light Blue) as an Ally
Player - Make Player 12 (Brown) treat Player 11 (Dark Green) as an Ally
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Create starting units (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
quests
Events
Map initialization
Conditions
Actions
Quest - Create a Required quest titled chat with the description to change your name type in -nameexample-name noobyou screen name will then show up asnoob:(text) , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Mark (Last created quest) as Discovered
Quest - Create a Required quest titled repick with the description to repick go to the box of flames there you will be incinerated and have a chance to become a new person(chance not included) , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Mark (Last created quest) as Discovered
Quest - Create a Required quest titled jobs with the description not ready yet just wait for the update , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Mark (Last created quest) as Discovered
Quest - Create a Optional quest titled monsters with the description over the course of the game you will be able to find secret rituals that will turn you into 1 of three monsters, they will require the propper outfit is slot 1 , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Mark (Last created quest) as Discovered
Quest - Create a Optional quest titled to be a vampire with the description to become a vampire go to the bloodforce with the proper outfit. only 1 is allowd right now , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Mark (Last created quest) as Discovered
Quest - Create a Optional quest titled werewolf with the description sorry but he isn't home right now , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Mark (Last created quest) as Discovered
Quest - Create a Optional quest titled deamon with the description sorry but the triggers ar not working to standards on the demon and will freeze the game so it has been turned off , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Mark (Last created quest) as Discovered
Quest - Create a Required quest titled ZOMBIES with the description player red can turn on zombies which will apear at the zombie beacon and hunt you down for food, be careful alone zombes are strong but together they will rip you apart. , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Mark (Last created quest) as Discovered
thanks to norelon... i took this from his triggers because im lazy.
Red Name Change
Events
Player - Player 1 (Red) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 50))
Yellow Name Change
Events
Player - Player 5 (Yellow) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 50))
teal Name Change
Events
Player - Player 3 (Teal) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 50))
Blue Name Change
Events
Player - Player 2 (Blue) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 50))
Gray Name Change
Events
Player - Player 9 (Gray) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 50))
Purple Name Change
Events
Player - Player 4 (Purple) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 50))
Orange Name Change
Events
Player - Player 6 (Orange) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 50))
Green Name Change
Events
Player - Player 7 (Green) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 50))
Pink Name Change
Events
Player - Player 8 (Pink) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 50))
Light Blue Name Change
Events
Player - Player 10 (Light Blue) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 50))
Dark Green Name Change
Events
Player - Player 11 (Dark Green) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 50))
Brown Name Change
Events
Player - Player 12 (Brown) types a chat message containing -name (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, 50))
onstagesnow
Events
Unit - A unit enters snowing <gen>
Conditions
(Triggering unit) Equal to stage weather man 0000 <gen>
Actions
Environment - Create at the_stage <gen> the weather effect Northrend Snow (Heavy)
Environment - Turn (Last created weather effect) On
onstagefog
Events
Unit - A unit enters fogmachine <gen>
Conditions
(Triggering unit) Equal to stage weather man 0000 <gen>
Actions
Environment - Create at the_stage <gen> the weather effect Dungeon White Fog (Heavy)
Environment - Turn (Last created weather effect) On
onstagenothing
Events
Unit - A unit leaves moonlitnight <gen>
Unit - A unit leaves rays_of_hope <gen>
Unit - A unit leaves dark_and_stormy_night <gen>
Unit - A unit leaves snowing <gen>
Unit - A unit leaves fogmachine <gen>
Conditions
(Triggering unit) Equal to stage weather man 0000 <gen>
Actions
Environment - Remove (Last created weather effect)
exitstage
Events
Unit - A unit enters exit_backstage <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of exitbackstage2 <gen>)
onstagemoonlitnight
Events
Unit - A unit enters moonlitnight <gen>
Conditions
(Triggering unit) Equal to stage weather man 0000 <gen>
Actions
Environment - Create at the_stage <gen> the weather effect Rays Of Moonlight
Environment - Turn (Last created weather effect) On
onstageraysofhope
Events
Unit - A unit enters rays_of_hope <gen>
Conditions
(Triggering unit) Equal to stage weather man 0000 <gen>
Actions
Environment - Create at the_stage <gen> the weather effect Rays Of Light
Environment - Turn (Last created weather effect) On
onstagestormynight
Events
Unit - A unit enters dark_and_stormy_night <gen>
Conditions
(Triggering unit) Equal to stage weather man 0000 <gen>
Actions
Environment - Create at the_stage <gen> the weather effect Lordaeron Rain (Heavy)
Environment - Turn (Last created weather effect) On
hunt
Events
Time - Elapsed game time is 5 seconds
Conditions
(Race of (Triggering unit)) Equal to Undead
Actions
Unit - Order (Triggering unit) to Attack . zombie beacon 0090 <gen>
zombie variable turn on
Events
Unit - event swich 0086 <gen> Begins casting an ability
Conditions
(Ability being cast) Equal to turn on zombie invasion
Actions
Set Variable Set zombieson = "true"
zombie variable turn off
Events
Unit - event swich 0086 <gen> Begins casting an ability
Conditions
(Ability being cast) Equal to turn off zombie invasion
Actions
Set Variable Set zombieson = "false"
spawn zombies
Events
Time - Every 10.00 seconds of game time
Conditions
zombieson Equal to True
Actions
Unit - Create 4 . Zombie for Neutral Hostile at (Position of zombie beacon 0090 <gen>) facing Default building facing degrees
spawn zombies Copy
Events
Time - Every 5.00 seconds of game time
Conditions
zombieson Equal to True
Actions
Unit - Create 2 . Zombie for Neutral Hostile at (Random point in (Playable map area)) facing Default building facing degrees
Unit - Create 2 . Zombie for Neutral Hostile at (Random point in (Playable map area)) facing Default building facing degrees
Unit - Create 2 . Zombie for Neutral Hostile at (Random point in (Playable map area)) facing Default building facing degrees
buy
Events
Unit - A unit Sells a unit
Conditions
(Triggering unit) Equal to girls 0064 <gen>
Actions
Unit - Kill (Buying unit)
Unit - Move (Sold unit) instantly to (Center of begginig_spawn <gen>)
buy Copy
Events
Unit - A unit Sells a unit
Conditions
(Triggering unit) Equal to boys 0002 <gen>
Actions
Unit - Kill (Buying unit)
Unit - Move (Sold unit) instantly to (Center of begginig_spawn <gen>)
repick
Events
Unit - A unit enters Region_051 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Create 1 . selector for (Owner of (Triggering unit)) at (Center of picking_area <gen>) facing Default building facing degrees
Unit - Remove (Triggering unit) from the game
revive
Events
Unit - A unit owned by Player 1 (Red) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Wait 60.00 seconds
Hero - Instantly revive (Triggering unit) at (Center of Region_022 <gen>) , Show revival graphics
open the front doors
Events
Unit - event swich 0086 <gen> Begins casting an ability
Conditions
(Ability being cast) Equal to open the school entrance (Neutral Hostile)
doorsopen Equal to False
Actions
Destructible - Open City Entrance 0043 <gen>
Destructible - Open City Entrance 0000 <gen>
Destructible - Open City Entrance 0001 <gen>
Destructible - Open City Entrance 1046 <gen>
Set Variable Set doorsopen = "true"
close the front doors
Events
Unit - event swich 0086 <gen> Begins casting an ability
Conditions
(Ability being cast) Equal to open the school entrance (Neutral Hostile)
doorsopen Equal to True
Actions
Destructible - Close City Entrance 1046 <gen>
Destructible - Close City Entrance 0001 <gen>
Destructible - Close City Entrance 0000 <gen>
Destructible - Close City Entrance 0043 <gen>
Destructible - Close City Entrance 1046 <gen>
Set Variable Set doorsopen = "false"
sneek out the window
Events
Unit - A unit enters girls_dorm_window1 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of girls_exit2 <gen>)
no boys alowed
Events
Unit - A unit enters girls_dorm_entrance <gen>
Conditions
(Race of (Triggering unit)) Equal to Human
Actions
Unit - Move (Triggering unit) instantly to (Center of stay_out_girls <gen>)
fall into the bath
Events
Unit - A unit enters girls_dorm_window2 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of fall_in_girls_bath <gen>)
no girls alowed
Events
Unit - A unit enters boysdormEN <gen>
Conditions
(Race of (Triggering unit)) Equal to Night Elf
Actions
Unit - Move (Triggering unit) instantly to (Center of stay_out_boys <gen>)
out the window
Events
Unit - A unit enters boysbathroom_exit <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of boyEX2 <gen>)
in the window
Events
Unit - A unit enters boys_bathroomentrance <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of boy_EN2 <gen>)
toss the ball
Events
Unit - A unit Uses an item
Conditions
(Item-class of (Matching item)) Equal to (Item-class of gg_item_fgun_0000)
Actions
Item - Create Football at (Target point of issued order)
turn werewolf
Events
Conditions
Actions
turn vampire
Events
Unit - A unit enters bloodforce_convertion_area <gen>
Conditions
(Item carried by (Entering unit) in slot 1) Equal to (Item carried by (Entering unit) of type vampire costume)
vampirelimit Equal to False
Actions
Set Variable Set vampirelimit = "true"
Item - Remove (Item carried by (Entering unit) in slot 1)
Unit - Add Bite to (Triggering unit)
Unit - Add strenght of the Vampire to (Triggering unit)
Unit - Add Vamperic Domination (Neutral Hostile) to (Triggering unit)
sacrifice for a demon
Events
Unit - A unit enters Alter_of_demons <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
(Item carried by (Entering unit) in slot 1) Equal to (Item carried by (Entering unit) of type Demon costume)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Triggering unit)) Equal to Human
Then - Actions
Unit - Create 1 . Demon for (Owner of (Triggering unit)) at (Center of Alter_of_demons <gen>) facing Default building facing degrees
Unit - Remove (Triggering unit) from the game
Else - Actions
Unit - Create 1 . Demoness for (Owner of (Triggering unit)) at (Center of Alter_of_demons <gen>) facing Default building facing degrees
Unit - Remove (Triggering unit) from the game
so far turning demon freezes game do not turn it on in online games until it is fixed
werewolf
Events
Conditions
Actions
vampire
Events
Unit - A unit Begins channeling an ability
Conditions
(Ability being cast) Equal to Bite
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is A Hero) Equal to True
Then - Actions
Else - Actions
demon
Events
Conditions
Actions
the thirst
Events
Conditions
Actions
sacrifice
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
back to the surface
Events
Unit - A unit enters cave1_EX <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of cave_ex2 <gen>)
Untitled Trigger 001
Events
Unit - A unit enters cave1En <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of cave_en2 <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.