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