Page MenuHomeFeedback Tracker

[Feature request] Eventhandler to fire if knowsAbout value changes
New, NormalPublic

Description

Atm one has constantly check the value to notice a change.
If you want to script things like events or behavior change based on awareness level, this is quite costly - hence a EH hook would be great.

Depending on the underlying engine code different approaches may be the most meaningful [in regards to EH design and parameters]:
+ per unit and all its knownTargets
+ per unit and a specific target unit
+ mission EH for any unit about its knownTargets

Details

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

Event Timeline

Agreed, that would be very helpful and save alot of checks.

From what i was reading about knowsAbout etc. i also thought once that elements of a group would report positions etc. back to group leader, so it was only necessary to check group leaders knowledge about enemies, but that assumption turned out to be wrong. So you really have to gather information from all elements of a group to get a proper overview of known enemies of a group.

That can be pretty expensive especially with many groups, for example when there are many guard towers to populate in a mission.

h- added a subscriber: h-.Oct 20 2021, 7:50 AM

Yes please.
This probably should return things like the knowsAbout value and such? And stuff the command targetKnowledge returns?

Going even further wouldn't mind seeing event for returning the different danger causes that are available only in danger.fsm 🤔

dedmen added a subscriber: dedmen.Mon, Nov 15, 6:34 PM

It will only fire where the AI is local, that should be fine right?

From my point of view it would be enough, especially as the followup code usually has to be executed where unit and its group is local anyway.

Tenshi added a subscriber: Tenshi.Thu, Nov 18, 1:01 PM

Thank you for requesting the feature.
Due to the current phase of Live Ops development in Arma 3, we cannot commit to any new features, though we will try to consider them.

Tenshi set Ref Ticket to Internal Ref.: AIII-54753.Thu, Nov 18, 1:01 PM