Page MenuHomeFeedback Tracker

Add scripting command to disable individual stances (up, middle, down)
New, WishlistPublic

Description

With the setUnitPos command, you can make an AI remain in one of three stances, standing, crouched and prone. But it would also be useful to limit the stances available to an AI.

I suggest a new command which would let the mission designer prevent the AI from using a certain stance, or stances. Examples:

unit1 allowUnitPos ["UP", "MIDDLE"]; -- allows the unit to stand and crouch, but not go prone.

unit1 disableUnitPos "DOWN"; -- singular version of the command just disabling the prone stance.

Details

Legacy ID
2855747208
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Feature Request

Event Timeline

JoeOBrien edited Steps To Reproduce. (Show Details)Oct 6 2013, 7:22 PM
JoeOBrien edited Additional Information. (Show Details)
JoeOBrien set Category to Feature Request.
JoeOBrien set Reproducibility to N/A.
JoeOBrien set Severity to None.
JoeOBrien set Resolution to Open.
JoeOBrien set Legacy ID to 2855747208.May 7 2016, 5:04 PM

This is important. This way mission makers will be able to prevent, for example, from units placed in buildings to go prone, clip their rifle through the wall and shoot.

+1 this command should extent to playable units as well. Will benefit SP and MP. For example if mission maker wishes to disable prone in certain situations.

Bohemia added a subscriber: Bohemia.May 7 2016, 5:04 PM

Good to see the smart chaps on this ticket! :) +1 This would be a wonderful feature!

enableProne / enableCrouch / enableStand would be welcome additions!

What about all the stances in between though?

The AI doesn't use those.

Can confirm, AI don't appear to use these at all.

This isn't possible? If you're playing as zeus you can lock an AI unit to a stance, so the script must be here somewhere.

No, you can script a unit to use one of the three stances. But he'll use that stance ONLY. You may wish to allow an AI to use two stances but disable one of them.

Prime example: I hate it when the AI goes prone in close quarters, like in a town. I'd like to restrict them to crouching and standing in that kind of situation.