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