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

Changing Collision Size

Status
Not open for further replies.
Level 15
Joined
Aug 11, 2009
Messages
1,606
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.
 
Level 8
Joined
Feb 15, 2009
Messages
463
i think its possible with jass

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
 
Status
Not open for further replies.
Top