• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[ Request ] - Sheep Tag Triggers

Status
Not open for further replies.
Level 14
Joined
Jul 28, 2009
Messages
1,085
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,240
  • 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,085
  • 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