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!
I don't know about MPQ, but I'm using this for the ingame control of the camera and it's MUI friendly.
Zoom
Events
Player - Player 1 (Red) types a chat message containing -zoom as A substring
Player - Player 2 (Blue) types a chat message containing -zoom as A substring
Player - Player 3 (Teal) types a chat message containing -zoom as A substring
Player - Player 4 (Purple) types a chat message containing -zoom as A substring
Player - Player 5 (Yellow) types a chat message containing -zoom as A substring
Player - Player 7 (Green) types a chat message containing -zoom as A substring
Conditions
(Substring((Entered chat string), 1, 5)) Equal to -zoom
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 1, 6)) Equal to -zoom
(Integer((Substring((Entered chat string), 7, (Length of (Entered chat string)))))) Greater than or equal to 1000
(Integer((Substring((Entered chat string), 7, (Length of (Entered chat string)))))) Less than or equal to 3500
Then - Actions
Camera - Set (Triggering player)'s camera Distance to target to (Real((Substring((Entered chat string), 7, (Length of (Entered chat string)))))) over 1.00 seconds
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Integer((Substring((Entered chat string), 7, (Length of (Entered chat string)))))) Greater than or equal to (3500 + 1)
Then - Actions
Camera - Set (Triggering player)'s camera Distance to target to 3500.00 over 1.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.