[Trigger] this aint working.....

Status
Not open for further replies.
Level 19
Joined
Feb 15, 2008
Messages
2,174
  • War Stomp1 Copy
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to War Stomp SNAKE
    • Actions
      • Unit Group - Pick every unit in (Random 20 units from (Units within 1000.00 of (Position of (Casting unit)) matching ((Owner of (Matching unit)) Not equal to (Owner of (Casting unit))))) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy Caster impala for Player 1 (Red) at (Center of (Playable map area)) facing (Position of (Triggering unit))
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
          • Unit - Add a 0.02 second Generic expiration timer to (Last created unit)
          • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\Impale\ImpaleHitTarget.mdl
          • Camera - Shake the camera for Player 1 (Red) with magnitude 10.00
          • Wait 2.00 seconds
          • Camera - Stop swaying/shaking the camera for Player 1 (Red)

its my trigger but camera wont stop shaking and i want it to stop after 2 seconds ...

and a guy told me do it in jass but its not working i tryed to do all he says but how can i do it in GUI?
 
It's because its in a loop. Make the

Camera - Shake the camera for Player 1 (Red) with magnitude 10.00

Before the loop. And make the wait and the stop swaying/shaking after the loop.
 
hm thats sounds smart but how u mean loop explain .... so i get it in my little bone head lol....

i mean where is the start of loop and end of it for example :)

start is example
Unit - Create 1 Dummy Caster impala for Player 1 (Red) at (Center of (Playable map area)) facing (Position of (Triggering unit))

end=
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\Impale\ImpaleHitTarget.mdl

?
 
  • War Stomp
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to War Stomp SNAKE (wtf is up with the SNAKE?)
    • Actions
      • Camera - Shake the camera for Player 1 (Red) with magnitude 10.00
      • Unit Group - Pick every unit in (Random 20 units from (Units within 1000.00 of (Position of (Triggering unit)) matching ((Owner of (Matching unit)) Not equal to (Owner of (Casting unit))))) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy for Player 1 (Red) at (Center of (Playable map area)) facing (Position of (Triggering unit))
          • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
          • Unit - Add a 0.02 second Generic expiration timer to (Last created unit)
          • Special Effect - Create a special effect at (Position of (Picked unit)) using your model here
      • Wait 2.00 seconds
      • Camera - Stop swaying/shaking the camera for Player 1 (Red)
 
But this will do; If Player 2 (Blue) casts the spell, red will get the dummy and the camera shake.
 
  • Actions
    • Camera - Shake the camera for (Owner of (Triggering unit)) with magnitude 10.00
    • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Center of (Playable map area)) facing Default building facing degrees
    • Camera - Stop swaying/shaking the camera for (Owner of (Triggering unit))
replace those old actions with those.
 
Status
Not open for further replies.
Back
Top