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
(8)ZangarmarshV2.w3x
Variables
Initialization
Melee Initialization
Zoom
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
CameraDistance
real
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
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)
Quest - Create a Required quest titled Zoom Command with the description You can use zoom command to use what camera distance you prefer.Maximum:-zoom 3000 Minimum:-zoom 500Camera Reset:-zoom reset , using icon path ReplaceableTextures\PassiveButtons\PASBTNFlyingMachineTrueSight.blp
Zoom
Events
Player - Player 1 (Red) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 2 (Blue) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 3 (Teal) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 4 (Purple) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 5 (Yellow) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 6 (Orange) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 7 (Green) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Player - Player 8 (Pink) types a chat message containing -zoom (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 7, (Length of (Entered chat string)))) Equal to
Then - Actions
Skip remaining actions
Else - Actions
Set Variable Set CameraDistance = (Real((Substring((Entered chat string), 7, (Length of (Entered chat string))))))
Camera - Set (Triggering player) 's camera Distance to target to CameraDistance over 0.20 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
CameraDistance Greater than or equal to 3000.00
Then - Actions
Camera - Set (Triggering player) 's camera Distance to target to 3000.00 over 0.20 seconds
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
CameraDistance Less than or equal to 500.00
Then - Actions
Camera - Set (Triggering player) 's camera Distance to target to 500.00 over 0.20 seconds
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 7, (Length of (Entered chat string)))) Equal to reset
Then - Actions
Camera - Reset camera for (Triggering player) to standard game-view over 0.20 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.