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

[JASS] Need an Uber Jasser for a Hard System (Trackables)

Status
Not open for further replies.
Level 5
Joined
Jun 30, 2008
Messages
84
Here's the plan. I want to put trackables all over the map that can be clicked so that a unit casts a spell there.
One problem, really don't get Kattana's tutorial.

Here it gets really annoying,
If you ever played Counter Strike or Team Fortress 2, I want to make a weapon system like that. So lets say you have a rifle equipped on you and you click a point. I want to make your triggering unit to cast the shoot spell at that point. Then you equip a grenade and click that spot, I want the triggering unit to throw the grenade over there. If you could post a code, that would really help me.
 
Level 3
Joined
Aug 19, 2007
Messages
24
Trackables could work for this as long as you are willing to sacrifice everything required - trackable events override all other events when clicked; you cannot, for example, target a spell on a trackable nor can you select a unit under a trackable
 
Status
Not open for further replies.
Top