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

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