• 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.

[JASS] How to do knockback

Status
Not open for further replies.
Level 9
Joined
Jun 26, 2005
Messages
511
ive seen alot of example for knockback with jass, but i dont understand it, do you have to type every letter yourself or is there some kind of program, i have jasscraft and today is the first day ive opened it, i was never interested in learning jass, but gui is getting boring, how do i use those program?
 
Level 17
Joined
Jun 17, 2007
Messages
1,433
Level 19
Joined
Aug 24, 2007
Messages
2,888
You type everyletter yourself actually

but there are many knockback functions that you can use with Copy And Paste
Silvenon has one that can be executed like
Custom script: call Knockback(<unit>,<direction>,<speed>,<boolean destroy trees ? true or false>) (I forgot if he included tree destroy range)

About JassCraft it can highlight texts, show you errors in code, shows you default game functions and checks for errors
(bah NewGen does all and +LOTS of things who needs JassCraft)

My suggestion about JassCraft: Click on JassCraft Directory and Press Shift-Delete
 
Level 9
Joined
Jun 26, 2005
Messages
511
yes, i wanted to learn jass but never had the time for it, that knockback function, i would like to increase ability in doing that, but i still dont get how they work, GUI makes sense in a way but jass is like you have to remember everything.
 
Level 11
Joined
Feb 22, 2006
Messages
752
Jass isn't much different than GUI. The major difference is that you need to know some basic scripting syntax. Otherwise if you think about it they are the same (they have to be since GUI is just Jass prettied-up in the trigger editor). Memorizing jass functions isn't hard since they have self-explanatory names like "GetTriggerUnit()" and "AddSpecialEffect()".
 
Someone already made a Knockback function. It can do both AoE and single target (I used both in a map once) and it's fairly simple to use. Along the top of your Hive page, the thing that has like: Tools, Maps, Forums, Models, etc click the one that says JASS, it should be someone where the top (or it was last time I looked), and if You cant find it, search: Vilex's (or just Vile) Knockback and you should find it.
 
Level 13
Joined
Nov 22, 2006
Messages
1,260
Someone already made a Knockback function. It can do both AoE and single target (I used both in a map once) and it's fairly simple to use. Along the top of your Hive page, the thing that has like: Tools, Maps, Forums, Models, etc click the one that says JASS, it should be someone where the top (or it was last time I looked), and if You cant find it, search: Vilex's (or just Vile) Knockback and you should find it.

Nope, that one was on wc3sear.ch, not here (though I've never seen it, but that's the only reasonable explanation coming on my mind).

Ahem, has it ever slipped your mind that my knockback can also be used for AOE knockbacking?? Just pick units in AOE and knockback them one by one.
 
Status
Not open for further replies.
Top