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!
If I have a footman with 16 collision and it passes through a region, I want it's collision to change to 32. Is this possible and how (I don't want to remove collision, I want to change the numbers).
No,that wouldn't work Maker,or if it worked he'd need to trigger it a lot.What about if the footman had inventory with items?Or what about his hitpoints,or mana(if he has).You would need to check all those...
I think there is an Action set Collision to XX,i'm not sure though.
also jass is not a godlike trigger thing which allows you to do crazy things it's just faster and easier(with vJass u can do more things) but changing collision size..hmmm never seen a function that does but replacing is not that much triggereing
just needs 2 units one with 16 and one with 32 collision size
unit enter your rect
unit = footman16
set temploc = GetUnitLoc(GetTriggerUnit)
CustomScript call RemoveUnit(GetTriggerUnit())
Create 1 footmen32 for (TriggerUnit)OwningPlayer at temploc facing 0
call RemoveLoc(temploc)
and the same thing
vice versa
so leaves region and change the 16/32
for heros it's more difficult but if you dont use then nvm otherwise post it
There is a GUI action wich turns it on/off. Cant u just make the unit have 32 collision size and then when it enters the region collision turns on? And then also turn collision off at start of the map.
I had tried that preposting this; it was buggy as hell. I guess this topic can be marked as solved, as I'm going to do an alternative thing for my map.
Erm, can't you simply use the chaos ability? Works for me to change heroes from ground to flying and back again. And all the items are carried with them.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.