Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AICoverLock Class Reference

Detailed Description

Holds data about a cover point. Performs automatic release of cover point upon its destruction.

Work flow when searching for covers:

  1. Find cover with SCR_AIFindCover node.
  2. The node assigns the found cover to CombatMoveState.
  3. SCR_AICoverLock automatically locks the cover through CoverManager.
  4. Move the AI to cover, and once he arrives, set m_bInCover=true in CombatMoveState.
  5. As long as m_bInCover is true, CombatMoveState.VerifyCurrentCover() will be actively validating that AI is still at that cover. The cover will be released when the AI is physically no longer there. Alternatively, SCR_AICoverLock will release the cover once it is destroyed.

Definition at line 19 of file SCR_AICoverLock.c.


The documentation for this class was generated from the following file: