• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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)
 
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.
 
Status
Not open for further replies.
Back
Top