Page MenuHomeFeedback Tracker

Add eventhandlers "combatModeChanged", "dangerCause", "explosiveDetected", "targetEngaged", "nameSpaceVariableEventHandler"
Acknowledged, WishlistPublic

Description

Wishlist for a few eventHandlers that would be handy to have:

"combatModeChanged"

  • would trigger when (AI) unit's combat mode changes
  • Would return:
    1. the unit
    2. the newly changed combat mode

"dangerCause"

  • would trigger when AI gets "Danger Caused"
  • Would return something like:
    1. The unit
    2. Danger Cause
    3. The perceived target (object) if any
    4. Detected by the unit (same as targetKnowledge returns)
    5. detected by group (same as targetKnowledge returns)
    6. target position error
    7. target position

"explosiveDetected"

  • would trigger when unit detects a active mine or a charge ("There's a charge here!" so there's a functionality for this in there already waiting to be released ;) )
  • Would return:
    1. the unit
    2. the detected explosive (object)
    3. detected object type (class name)

"targetEngaged"

  • would trigger when AI starts firing at a target
  • would return something like:
    1. the unit
    2. the target
    3. target type
    4. target threat
    5. distance to target
    6. weapon used

[<namespace>,<var>] addNameSpaceVariableEventHandler <code>

  • would trigger when the variable stored in a namespace is changed with setVariable
  • pretty much like addPublicVariableEventHandler but for setVariabled variables..
  • would return
    1. the namespace (in case of object the object)
    2. the changed variable and it's value (array)
    3. boolean for global or not

Details

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

Event Timeline

h- set Category to Feature Request.Aug 27 2015, 7:21 AM
h- set Reproducibility to N/A.
h- set Severity to None.
h- set Resolution to Open.
h- set Legacy ID to 3488342941.May 8 2016, 12:34 PM
h- added a subscriber: h-.
h- added a comment.Aug 27 2015, 2:22 PM

Added one more to the wishlist: nameSpaceVariableEventHandler

pcc added a subscriber: pcc.Mar 16 2022, 10:20 PM