• 🏆 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!

a simple but complicated ability :) +rep credits

Status
Not open for further replies.
Level 4
Joined
Feb 9, 2008
Messages
33
hey there guys, thanks for reading my thread but cut the kiddy stuff lets get straight to it lol

okay heres goes...ive been trying to make an ability for months called 'Time Collapse', its based off thunder clap and heres the effect..

*0.50 delay before trigger kicks in*
Whole map shakes with magnatude of 15, then all units pause and the caster unpauses, waits 3 seconds then unpauses all units, stops camera shaking then it's all back to normal.

Heres the Trigger i tried.

Time Collapse
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Time Collapse
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Time Collapse for (Casting unit)) Equal to 1
Then - Actions
Trigger - Run Time Collapse Shake <gen> (checking conditions)
Unit - Pause all units
Unit - Unpause (Casting unit)
Wait 3.00 game-time seconds
Unit - Unpause all units
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Time Collapse for (Casting unit)) Equal to 2
Then - Actions
Trigger - Run Time Collapse Shake <gen> (checking conditions)
Unit - Pause all units
Unit - Unpause (Casting unit)
Wait 5.00 game-time seconds
Unit - Unpause all units
Else - Actions
Trigger - Run Time Collapse Shake <gen> (checking conditions)
Unit - Pause all units
Unit - Unpause (Casting unit)
Wait 7.00 game-time seconds
Unit - Unpause all units


Heres the 'Time Collapse Shake <gen>' trigger

Time Collapse Shake
Events
Conditions
Actions
Camera - Shake the camera for Player 2 (Blue) with magnitude 15.00
Camera - Shake the camera for Player 3 (Teal) with magnitude 15.00
Camera - Shake the camera for Player 4 (Purple) with magnitude 15.00
Camera - Shake the camera for Player 5 (Yellow) with magnitude 15.00
Camera - Shake the camera for Player 6 (Orange) with magnitude 15.00
Camera - Shake the camera for Player 8 (Pink) with magnitude 15.00
Camera - Shake the camera for Player 9 (Gray) with magnitude 15.00
Camera - Shake the camera for Player 10 (Light Blue) with magnitude 15.00
Camera - Shake the camera for Player 11 (Dark Green) with magnitude 15.00
Camera - Shake the camera for Player 12 (Brown) with magnitude 15.00
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Time Collapse for (Casting unit)) Equal to 1
Then - Actions
Wait 3.00 game-time seconds
Trigger - Turn off (This trigger)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Time Collapse for (Casting unit)) Equal to 2
Then - Actions
Wait 5.00 game-time seconds
Trigger - Turn off (This trigger)
Else - Actions
Wait 7.00 game-time seconds
Trigger - Turn off (This trigger)

REASON IT DOESNT WORK:
wen i use the ability in the game. all that happens is he continuely just keep using the ability over and over again and basically all that happens is 200000million thunder claps and pauses.


Btw theres 3 lvls to the ability if ur wondering why theres 3 different conditions

lvl 1-pauses for 3seconds
lvl 2-pauses for 5seconds
lvl 3-pauses for 7seconds

if anyone could make me the trigger or just gimme a hand with it id be extremely greatful and give credits in map and rep :) thanks again guys laters
 
Level 9
Joined
Jul 20, 2005
Messages
414
  • Time Collapse
  • Events
  • Unit - A unit Starts the effect of an ability
  • Conditions
  • (Ability being cast) Equal to Time Collapse
  • Actions
  • Player - Pick Every Player
    • Camera - Shake the camera for (Picked Player) with magnitude 15.00
  • Unit - Pause all units
  • Unit - Unpause (Casting unit)
  • Wait ((Level of Time Collapse x 2) + 1) game-time seconds
  • Unit - Unpause all units
That is a way to simplify your trigger a lot, and make it not take up as much space, plus it combines the two triggers.
It should work, but if it does not, try creating a unit action to stop right after it unpauses.
That way, if the unit tries to cast the ability again, it will be stopped and will not cast the ability.

I wish you luck with the ability, and FYI, it doesn't seem that there is any damage dealt other than the thunderbolt ability.
 
Status
Not open for further replies.
Top