• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

WC3 Zoom System

Status
Not open for further replies.
Level 4
Joined
Oct 6, 2009
Messages
85
hey guys im working in my map and i want to know how to make a zoom system like when i type -zoom 400 the camera view turns into 400 just like that can someone tell me how?
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Untitled Trigger 010
    • 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
    • Conditions
      • (Substring((Entered chat string), 1, 5)) Equal to -zoom
    • Actions
      • Set r1 = (Real((Substring((Entered chat string), 7, (Length of (Entered chat string))))))
      • Camera - Set (Triggering player)'s camera Distance to target to r1 over 2.00 seconds
 
Status
Not open for further replies.
Top