Jump to content
bcon117

Change a units space or "footprint"?

Recommended Posts

Was wondering if someone could steer me in the direction of how to change a units "footprint" so to speak, the area that other units try to avoid. For instance, when a unit is standing, another unit will walk by him within a few feet, but if he's injured, the other unit might walk a large circle around him. 

 

I have a script where a medic runs up to a unit----

 

if (cas1 getVariable ["ACE_isUnconscious", false]) then {medic1 doMove (getpos cas1);

 

...at which point he is supposed to begin a casualty treatment script, however he runs like 15 feet around him and stops, but only when he is laying down, which is of course where a casualty typically is... 

I'm trying to render his "footprint" or whatever you'd call it, back to "normal" in this instance. 

 

**EDIT** - It was part of an old script that I didn't notice attached a small object to the casualty, which I guess was confusing the AI. Would still be good to know if anyone has a solution.. Thanks!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×