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

[ Request ] - Sheep Tag Triggers

Status
Not open for further replies.
Level 14
Joined
Jul 28, 2009
Messages
1,086
Camera Distance
-=-=-=-=-=-=-=-=-=-=-=-=-=-

Alright guys, first ill request an Camera Distance Trigger.
Like, when you type: -Zoom 1000 the distance from the sheep will be 1000 from the sheep. I want the minimum distance command to be: 1000 & the max distance command to be 3000.


-=-=-=-=-=-=-=-=-=-=-=-=-=-

I will +REP to people who can help me :=D
More triggers will come up :thumbs_up:









 
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Untitled Trigger 042
    • 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
      • ...
    • Conditions
      • (Substring((Entered chat string), 1, 6)) Equal to -zoom
    • Actions
      • Set Temp_Real_1 = (Real((Substring((Entered chat string), 7, 12))))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Temp_Real_1 Less than 1000.00
        • Then - Actions
          • Set Temp_Real_1 = 1000.00
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Temp_Real_1 Greater than 3000.00
            • Then - Actions
              • Set Temp_Real_1 = 3000.00
            • Else - Actions
      • Camera - Set (Triggering player)'s camera Distance to target to Temp_Real_1 over 0.00 seconds
 
Level 14
Joined
Jul 28, 2009
Messages
1,086
  • Untitled Trigger 042
    • 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
      • ...
    • Conditions
      • (Substring((Entered chat string), 1, 6)) Equal to -zoom
    • Actions
      • Set Temp_Real_1 = (Real((Substring((Entered chat string), 7, 12))))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Temp_Real_1 Less than 1000.00
        • Then - Actions
          • Set Temp_Real_1 = 1000.00
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Temp_Real_1 Greater than 3000.00
            • Then - Actions
              • Set Temp_Real_1 = 3000.00
            • Else - Actions
      • Camera - Set (Triggering player)'s camera Distance to target to Temp_Real_1 over 0.00 seconds

awesome! :=D
could you please put the trigger in a map for meh? ^^
ps, i cant really create any varibles without knowing what to set them to ^^
 
Last edited:
Status
Not open for further replies.
Top