• 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.

camera system

Status
Not open for further replies.
Level 19
Joined
May 1, 2008
Messages
1,130
i want to make a camera system liek camera near-mid-far type
i want so if u type lets say -cf (camera far) the camera will ya know... move up into teh sky and gives u a greather field of view.
and so that i can rotate or zoom in without teh camera jumping to its initial setings
how do i do that?
 
I recomend This:
  • Camera Distance Set
    • Events
    • Conditions
      • (Substring((Entered chat string), 1, 4)) Equal to -cd(
    • Actions
      • Set TempReal = (Real((Substring((Entered chat string), 5, 10))))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TempReal Greater than 5000.00
        • Then - Actions
          • Set TempReal = 5000.00
        • Else - Actions
      • Camera - Set (Triggering player)'s camera Distance to target to TempReal over 2.00 seconds
And the events are added like this:
  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Trigger - Add to Camera Distance Set <gen> the event (Player - (Picked player) types a chat message containing -cd( as A substring)
The reason I add them in my init trigger is because I hate adding all those events one by one.
 
Status
Not open for further replies.
Top