HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

What does "GetUnitState" do?

10-20-2006, 11:51 PM#1
CaptainPicard
I'm really trying to figure out if there's a way to toggle the unit classification (flying / ground / hero) in-game, and also if there's a way to toggle the field of a unit refered to by the "targeted as" field in the Object Editor. Can I change a unit that's "targeted as : GROUND" to "targeted as : AIR" in-game?

Thanks,

Capt. Picard
10-21-2006, 08:35 AM#2
Wyvernoid
No I think, and GetUnitState is used for hp, maxhp, mp, maxmp.
10-21-2006, 10:32 AM#3
Captain Griffen
No way to toggle between flying/ground/hero in game (aside from changing to a different unit type, with a morph spell ground<=>flying, ala DotT, though doing it from non-hero<=>hero will almost certainly go horribly wrong).
10-21-2006, 12:01 PM#4
blu_da_noob
Perhaps if you can explain why you need this we can help you find ways around it?