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

Need help with jass

Status
Not open for further replies.
Level 5
Joined
Apr 18, 2008
Messages
48
Hey, I seriously need help with a system on my map. I can't do JASS i just don't understand it yet. So if someone could plz make a jass script that:
Makes a Unit, use an ability on an area(mouse pointer) which you left click. better (or maybe worse.) explained as i spose,
Event, Left Click
Condition, Is Paintballer unit type
Actions, Cast fire at mouse pointer location.

Please help quickly.
 
Level 9
Joined
Jul 3, 2008
Messages
495
There is no event for mouse clicking or any function that return the
mouse position.

With trackables we can detect a mouse click, but we can't remove or move
them when they first are created.

RTC, under the project forum have added those native to wc3 you are
talking about. But then everyone who want to play the map, need to
download it. And its not working with the newest patch.

So its not possible. Sadly...
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
trackables would be fine for him
Coz if game is short you no need to carry about leaks
If game is long players will leave already
so just little trackable leaks wont harm anyone

Even toadcop uses trackables
(but what he does doesnt leak if same trackable can detect multiple left clicks without getting mouse location... anyway dunno)
 
Level 5
Joined
Apr 18, 2008
Messages
48
Yea

I don't know what trackables are but if they can work on detect mouse clicks maybe that would work. Can you post a script that would work like that? I was origionally gonna move with up/down etc arrow keys anyway?
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Trackables are used by advanced users
so I and many people here dont know how to
you need to PM someone who knows
(coz pros may not check requests thing)
 
Status
Not open for further replies.
Top