Help with a new ability

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Magyka
Newcomer
Posts: 4
Joined: March 5th, 2008, 2:41 am

Help with a new ability

Post by Magyka »

Id like to figure out if this ability is even possible, and if it is, some tips on how to do it.
First it will do a thunderstomp like animation that also stuns for 2 seconds, then a bladestorm for maybe a second, then a knockback about 5 feet. Any help will be awsome be it GUI triggers or JASS or just regular abilities
User avatar
tru_power22
Old Wrinkly Member
Posts: 271
Joined: January 12th, 2008, 4:42 am
Title: Re-R-Re-Re-Remix
Location: Canada EH?

Re: Help with a new ability

Post by tru_power22 »

This is very possible, so start, the casting ability could be a dummy ability, or it could be the war stomp. Then, you can create a dummy unit to do the blade storm damage, or you can give the casing unit the blade storm, for however long it lasts. The knock back would be something like this:

Super mega cool spell thing
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to War Stomp
Actions
Set temp_point = (Position of (Casting unit))
Unit - Create 1 [DUMMY UNIT] for (Owner of (Triggering unit)) at temp_point facing Default building facing (270.0) degrees
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add [BLADESTORM DUMMY ABILITY] to (Last created unit)
Unit - Order (Last created unit) to Orc Blademaster - Bladestorm
Unit - Remove Bladestorm from (Triggering unit)
Unit Group - Pick every unit in (Units within 200.00 of temp_point) and do (Unit Group - Add (Picked unit) to tempgroup)
Trigger - Turn on Knockback <gen>
Wait 2.00 seconds
Trigger - Turn off Knockback <gen>



Knockback
Events
Time - Every 0.04 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in tempgroup and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to (temp_point offset by (Distance between temp_point and (Position of (Picked unit))) towards ((Distance between temp_point and (Position of (Picked unit))) + 5.00) degrees)


I'm missing a few conditions, so right now everything will fly back.
Contact me on WC3 Killing_Spree22, I'm at US west!

To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk

I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.
Magyka
Newcomer
Posts: 4
Joined: March 5th, 2008, 2:41 am

Re: Help with a new ability

Post by Magyka »

Ok cool, i got everything except the part about the set temp_point = (position of (casting unit))
User avatar
tru_power22
Old Wrinkly Member
Posts: 271
Joined: January 12th, 2008, 4:42 am
Title: Re-R-Re-Re-Remix
Location: Canada EH?

Re: Help with a new ability

Post by tru_power22 »

Sorry, I tested it, the sliding doesn't work, and temp_point it to prevent leaks.
Contact me on WC3 Killing_Spree22, I'm at US west!

To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk

I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Help with a new ability

Post by Aero »

Still leaks temp_point.
And Point offset by ... ect.

That's a PolarProjectionBJ call (Which leaks a location every time it's called)
User avatar
tru_power22
Old Wrinkly Member
Posts: 271
Joined: January 12th, 2008, 4:42 am
Title: Re-R-Re-Re-Remix
Location: Canada EH?

Re: Help with a new ability

Post by tru_power22 »

Aero wrote:Still leaks temp_point.
And Point offset by ... ect.

That's a PolarProjectionBJ call (Which leaks a location every time it's called)
Hmmm... is there a way to fix that?
Contact me on WC3 Killing_Spree22, I'm at US west!

To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk

I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.