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
Exit.w3x
Variables
-
Initialization
Exit
Name
Type
is_array
initial_value
AllPlayers
force
No
PlayableMapArea
rect
No
TempPoint
location
No
Initialization
Events
Map initialization
Conditions
Actions
Set Variable Set AllPlayers = (All players)
Set Variable Set PlayableMapArea = (Playable map area)
Set Variable Set TempPoint = (Center of PlayableMapArea)
Floating Text - Create floating text that reads Type -exit at (Center of (Playable map area)) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Game - Set the time of day to 6.00
Game - Display to AllPlayers for 9.99 seconds the text: Exit system by Karassu...Just type -exit and all players playing this map will exit!
Player Group - Pick every player in AllPlayers and do (Actions)
Loop - Actions
Player - Turn Gives bounty On for (Picked player)
Quest - Create a Required quest titled Info with the description Exit system by Karassu...Just type -exit and all players playing this map will exit! , using icon path ReplaceableTextures\CommandButtons\BTNSelectHeroOn.blp
Unit Group - Pick every unit in (Units in PlayableMapArea) and do (Actions)
Loop - Actions
Selection - Add (Picked unit) to selection for (Owner of (Picked unit))
Visibility - Disable fog of war
Visibility - Disable black mask
Trigger - Turn off (This trigger)
Exit
Events
Player - Player 1 (Red) types a chat message containing -exit (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Trigger - Run (This trigger) (ignoring conditions)
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.