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

[JASS] unit target type

Status
Not open for further replies.

ABM

ABM

Level 7
Joined
Jul 13, 2005
Messages
279
is it possible to change a unit target type?

i have an unit wich is flying and is targeted as air
but i would like to be able to alter its type ingame making it targeted as ground for 2 sec then targeted as air again...
the unit doesn't have to move as ground, it can be permanently air, i want to only affect the unit wich target it...
so all the time thay cannot target because it is air, but at one moment they can because it become ground...

i used the chaos ability to alter completly the unit with a double wich is targeted as ground, but if there is an easier way with Jass to modify ingame the "targeted as" that would be better than spam function and ability each time to alter and change back..
 

ABM

ABM

Level 7
Joined
Jul 13, 2005
Messages
279
wow cool, i wasn't sure what the type was actually about in Jass, so it is the same as target type?
great thanks a lot deathismyfriend.
 
Status
Not open for further replies.
Top