MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SelectFireWeapon

Method SelectFireWeapon

engine/Poseidon/World/Detection/TargetFire.cpp:1662–1665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1660 return state < _initState;
1661}
1662
1663void EntityAI::SelectFireWeapon()
1664{
1665 SelectFireWeapon(_fire);
1666}
1667
1668void EntityAI::SelectFireWeapon(FireDecision& fire)

Callers

nothing calls this directly

Calls 15

floatMinFunction · 0.85
CameraOnMethod · 0.80
GetTargetFinishedMethod · 0.80
GetCombatModeMethod · 0.80
GetTargetAssignedMethod · 0.80
IsKnownByMethod · 0.80
GetTimeToLiveMethod · 0.80
GetAIDisabledMethod · 0.80
IsEnemyMethod · 0.80
GetEnableFireTargetMethod · 0.80
IsHoldingFireMethod · 0.80
SurplusMethod · 0.80

Tested by

no test coverage detected