Page MenuHomeFeedback Tracker

[Feature Request] New scripting command: getCurrentAutoCombatTimout
New, NormalPublic

Description

The engine default is 5 min or so from what i recall with testing - aka how long it takes for a group to switch to their normal behavior after the last engagement (bullets fired or enemies seen?)

The disableAI is very helpful already, but would be useful to also have the option to rely on the engine mechanic but given squads individual behavior time timeout adjustments,

Otherwise one needs to script a system to determine if a squad is in combat and how long since the last engagement.

getCurrentAutoCombatTimout _group; // returns the time since the last engagement

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting