• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

How to create a "Rush/Charge" spell in JASS

Status
Not open for further replies.
Level 13
Joined
Jul 26, 2008
Messages
1,009
I was hoping someone could teach me how to create a rush spell in JASS. I want to make a hero rush at an enemy when they cast a spell on him. It's a passive. I could probably do a lot of other skills if I knew how.

Thing is I'm clueless on how to make the unit do this.

Some systems I'm using:

XE 16.0
Caster System (Most up to date)
RisingDusk Knockback
BonusMod
AutoIndex
Table

If any of these can help then :D If I need a new system to do this (Which I don't htink I do/Hope I dont) I'll grab it.

So how do I go about making a system or spell that makes a unit rush another unit, and do an effect upon collision. I'd prefer one that doesn't pass through unpathable terrain too, which should be possible with IsTerrainPathable.
 
I was hoping someone could teach me how to create a rush spell in JASS. I want to make a hero rush at an enemy when they cast a spell on him. It's a passive. I could probably do a lot of other skills if I knew how.

Thing is I'm clueless on how to make the unit do this.

Some systems I'm using:

XE 16.0
Caster System (Most up to date)
RisingDusk Knockback
BonusMod
AutoIndex
Table

If any of these can help then :D If I need a new system to do this (Which I don't htink I do/Hope I dont) I'll grab it.

So how do I go about making a system or spell that makes a unit rush another unit, and do an effect upon collision. I'd prefer one that doesn't pass through unpathable terrain too, which should be possible with IsTerrainPathable.

use a missile system and customize it, instead of creating a new missile make the unit/hero as the missile and then make sure that you dont kill him upon contact...
 
Status
Not open for further replies.
Top