Hello TheHelper.net, thank-you to all members for the help, coming up with systems, and cool spells, etc.
Highlight this section:
Guess what!! It's my Birthday tomorrow!!!! LOLZ...... I HAVE to make a big deal out of it.
Now, I have a question to ask:
When I first played Pudge Wars Adv., I was very intrigued by the Meat Hook it has, so I wanted to try make one, but sadly, this one only moves in a straight line from the position of the caster.
So:
1. Is it possible to make it in GUI?
Trollvottel already made one, but it is in vJASS.
2. If the answer is yes, help me? If no, forget it =/
3. Spoilers: I posted a spell, they worked, now they do not work in this thread??????????????????????????????????????????????????????????????
Is it my computer's fault?
- If you notice anything strange (Freezing Breath Target), that is for testing purposes.
=====================================================
=====================================================
=====================================================
Highlight this section:
Guess what!! It's my Birthday tomorrow!!!! LOLZ...... I HAVE to make a big deal out of it.
Now, I have a question to ask:
When I first played Pudge Wars Adv., I was very intrigued by the Meat Hook it has, so I wanted to try make one, but sadly, this one only moves in a straight line from the position of the caster.
So:
1. Is it possible to make it in GUI?
Trollvottel already made one, but it is in vJASS.
2. If the answer is yes, help me? If no, forget it =/
3. Spoilers: I posted a spell, they worked, now they do not work in this thread??????????????????????????????????????????????????????????????
Is it my computer's fault?
What I have so far:
- The ability is Leaking tremendously, I'm aware. But my intention is just to create the effect (Right now it is)- If you notice anything strange (Freezing Breath Target), that is for testing purposes.
Trigger:
- RopeCast
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Rope
- Actions
- Trigger - Turn off (This trigger)
- Set ROPE_Caster = (Triggering unit)
- Set ROPE_DumTracker = 0
- Set ROPE_CastLoc = (Position of (Triggering unit))
- Set ROPE_Countdown = 0.00
- Set ROPE_Loc = (Position of (Triggering unit))
- Set ROPE_GetSpellTargetLoc = (Target point of ability being cast)
- Set Angle = (Angle from ROPE_CastLoc to ROPE_GetSpellTargetLoc)
- Set ROPE_Player = (Owner of (Triggering unit))
- Set ROPE_Target = (ROPE_CastLoc offset by 1300.00 towards Angle degrees)
- Special Effect - Create a special effect at ROPE_Target using Abilities\Spells\Undead\FreezingBreath\FreezingBreathTargetArt.mdl
- Set ROPE_SFX = (Last created special effect)
- Unit - Create 1 Rope -- DummyHead for ROPE_Player at ROPE_Loc facing Angle degrees
- Set ROPE_Hookhead = (Last created unit)
- Unit - Turn collision for ROPE_Hookhead Off
- Unit - Create 1 Rope -- DummyHeadGlow for ROPE_Player at ROPE_Loc facing Angle degrees
- Set ROPE_Glow = (Last created unit)
- Unit - Turn collision for ROPE_Glow Off
- Custom script: call RemoveLocation( udg_ROPE_Loc )
- Custom script: call RemoveLocation( udg_ROPE_GetSpellTargetLoc )
- Custom script: call RemoveLocation( udg_ROPE_CastLoc )
- Trigger - Turn on RopeMove <gen>
- Trigger - Turn on RopeFollow <gen>
- Events
Trigger:
- RopeMove
- Events
- Time - Every 0.04 seconds of game time
- Conditions
- Actions
- Set ROPE_Countdown = (ROPE_Countdown + 0.04)
- Set ROPE_CastLoc = (Position of ROPE_Caster)
- Set ROPE_HookheadLoc = (Position of ROPE_Hookhead)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ROPE_Countdown Less than 1.60
- Then - Actions
- Set ROPE_DumTracker = (ROPE_DumTracker + 1)
- Set Angle = ((Angle from ROPE_HookheadLoc to ROPE_Target) + 2.00)
- Set ROPE_Loc = ((Position of ROPE_Glow) offset by 33.00 towards Angle degrees)
- Unit - Move ROPE_Glow instantly to ROPE_Loc
- Unit - Move ROPE_Hookhead instantly to ROPE_Loc
- Unit - Create 1 Rope -- Dummy for ROPE_Player at ROPE_Loc facing Angle degrees
- Set ROPE_Dummy[ROPE_DumTracker] = (Last created unit)
- Unit - Turn collision for (Last created unit) Off
- Unit - Set the custom value of (Last created unit) to ROPE_DumTracker
- Unit Group - Add (Last created unit) to ROPE_DummyGroup
- Custom script: call RemoveLocation( udg_ROPE_Loc )
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ROPE_Countdown Equal to 3.20
- Then - Actions
- Special Effect - Destroy ROPE_SFX
- Trigger - Turn on RopeReturn <gen>
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ROPE_Countdown Equal to 4.80
- (Distance between (Position of ROPE_Caster) and ROPE_HookheadLoc) Less than 128.00
- ROPE_Countdown Greater than 1.60
- Then - Actions
- Unit Group - Pick every unit in ROPE_DummyGroup and do (Actions)
- Loop - Actions
- Unit - Remove (Picked unit) from the game
- Loop - Actions
- Set ROPE_Futher = 0.00
- Trigger - Turn off RopeMove <gen>
- Trigger - Turn off RopeReturn <gen>
- Trigger - Turn on RopeCast <gen>
- Unit - Remove ROPE_Glow from the game
- Unit - Remove ROPE_Hookhead from the game
- Custom script: call RemoveLocation( udg_ROPE_Target )
- Unit Group - Pick every unit in ROPE_DummyGroup and do (Actions)
- Else - Actions
- Do nothing
- If - Conditions
- Custom script: call RemoveLocation( udg_ROPE_CastLoc )
- Custom script: call RemoveLocation( udg_ROPE_HookheadLoc )
- Events
Trigger:
- RopeReturn
- Events
- Time - Every 0.04 seconds of game time
- Conditions
- Actions
- Set ROPE_HookheadLoc = (Position of ROPE_Hookhead)
- Set ROPE_CastLoc2 = (Position of ROPE_Caster)
- Set Angle = (Angle from ROPE_HookheadLoc to ROPE_CastLoc2)
- Set ROPE_Loc = (ROPE_HookheadLoc offset by 30.00 towards Angle degrees)
- Unit - Remove ROPE_Dummy[ROPE_DumTracker] from the game
- Set ROPE_DumTracker = (ROPE_DumTracker - 1)
- Unit - Move ROPE_Glow instantly to ROPE_Loc
- Unit - Move ROPE_Hookhead instantly to ROPE_Loc
- Set Angle = Value
- Set ROPE_Loc = (Position of ROPE_Dummy[ROPE_DumTracker])
- Custom script: call RemoveLocation( udg_ROPE_HookheadLoc )
- Custom script: call RemoveLocation( udg_ROPE_CastLoc2 )
- Custom script: call RemoveLocation( udg_ROPE_Loc )
- Events
Trigger:
- RopeFollow
- Events
- Time - Every 0.04 seconds of game time
- Conditions
- Actions
- Set ROPE_CastLoc = (Position of ROPE_Caster)
- Set ROPE_HookheadLoc2 = (Position of ROPE_Hookhead)
- Unit Group - Pick every unit in ROPE_DummyGroup and do (Actions)
- Loop - Actions
- Set ROPE_InitOffset = 0.00
- Set ROPE_Unknown = ((Distance between ROPE_CastLoc and ROPE_HookheadLoc2) / 40.00)
- Set ROPE_Futher = (ROPE_Futher + ROPE_Unknown)
- For each (Integer A) from 1 to 41, do (Actions)
- Loop - Actions
- Set ROPE_InitOffset = (ROPE_InitOffset + ROPE_Unknown)
- Set ROPE_Offset[(Integer A)] = ROPE_InitOffset
- Loop - Actions
- Set ROPE_Offset[(Custom value of (Picked unit))] = (((Distance between (Position of ROPE_Caster) and (Position of ROPE_Glow)) / 30.00) + 33.00)
- Set ROPE_Offset[(Custom value of (Picked unit))] = ROPE_Futher
- Set Angle2 = (Angle from ROPE_CastLoc to ROPE_HookheadLoc2)
- Set ROPE_FollowLoc[(Custom value of (Picked unit))] = (ROPE_CastLoc offset by ROPE_Offset[(Custom value of (Picked unit))] towards Angle2 degrees)
- Unit - Move (Picked unit) instantly to ROPE_FollowLoc[(Custom value of (Picked unit))], facing Angle2 degrees
- Custom script: call RemoveLocation( udg_ROPE_FollowLoc[ GetUnitUserData( GetEnumUnit() ) ] )
- Loop - Actions
- Custom script: call RemoveLocation( udg_ROPE_CastLoc )
- Custom script: call RemoveLocation( udg_ROPE_HookheadLoc2 )
- For each (Integer A) from 1 to 40, do (Actions)
- Loop - Actions
- Set Variable = ((Distance between ROPE_CastLoc and ROPE_Loc) / 40.00)
- Game - Display to (All players) the text: Text
- Set Variable = Value
- Set ROPE_Offset[(Integer A)] = Value
- Set ROPE_FollowLoc[(Integer A)] = (ROPE_CastLoc offset by ROPE_Offset[(Integer A)] towards Angle2 degrees)
- Unit - Move ROPE_Dummy[(Integer A)] instantly to ROPE_FollowLoc[(Integer A)]
- Loop - Actions
- Events