• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Is there a alternative triggerr for this because its laag... PLEASE HELP!!!

Status
Not open for further replies.
Level 7
Joined
May 23, 2011
Messages
179
Is there a alternative triggerr for this because its laag... PLEASE HELP!!!
  • Earthquake
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Earthquakes Thors
    • Actions
      • Wait 1.00 seconds
      • Camera - Shake the camera for Player 1 (Red) with magnitude 4.00
      • Camera - Shake the camera for Player 2 (Blue) with magnitude 4.00
      • Camera - Shake the camera for Player 3 (Teal) with magnitude 4.00
      • Camera - Shake the camera for Player 4 (Purple) with magnitude 4.00
      • Camera - Shake the camera for Player 5 (Yellow) with magnitude 4.00
      • Camera - Shake the camera for Player 6 (Orange) with magnitude 4.00
      • Camera - Shake the camera for Player 7 (Green) with magnitude 4.00
      • Camera - Shake the camera for Player 8 (Pink) with magnitude 4.00
      • Camera - Shake the camera for Player 9 (Gray) with magnitude 4.00
      • Camera - Shake the camera for Player 10 (Light Blue) with magnitude 4.00
      • Wait 4.00 seconds
      • Camera - Stop swaying/shaking the camera for Player 1 (Red)
      • Camera - Stop swaying/shaking the camera for Player 2 (Blue)
      • Camera - Stop swaying/shaking the camera for Player 3 (Teal)
      • Camera - Stop swaying/shaking the camera for Player 4 (Purple)
      • Camera - Stop swaying/shaking the camera for Player 5 (Yellow)
      • Camera - Stop swaying/shaking the camera for Player 6 (Orange)
      • Camera - Stop swaying/shaking the camera for Player 7 (Green)
      • Camera - Stop swaying/shaking the camera for Player 8 (Pink)
      • Camera - Stop swaying/shaking the camera for Player 9 (Gray)
      • Camera - Stop swaying/shaking the camera for Player 10 (Light Blue)
 
Level 26
Joined
Mar 19, 2008
Messages
3,140
Instead of Unit - A unit Begins casting an ability use Unit - Starts the effect of ability.

You do not need to shake camera for each player by creating 12 actions, better use:
  • Actions
    • Player Group - Pick every player in (All players) and do (Actions)
      • Loop - Actions
        • Camera - Shake the camera for (Picked player) with magnitude 4.00
Replace waits, if you want it MUI.

If you need players from 1 to 10 use:
  • For each (Integer A) from 1 to 10, do (Actions)
    • Loop - Actions
      • Camera - Shake the camera for (Player((Integer A))) with magnitude 4.00
Use the same actions to stop the shaking.
 
Level 7
Joined
Sep 5, 2006
Messages
334
to made it faster, you could check each player slot and shake only those which are player (not sure if it works)
 
Status
Not open for further replies.
Top