Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1663
void EntityAI::SelectFireWeapon()
1664
{
1665
SelectFireWeapon(_fire);
1666
}
1667
1668
void EntityAI::SelectFireWeapon(FireDecision& fire)
Callers
nothing calls this directly
Calls
15
floatMin
Function · 0.85
CameraOn
Method · 0.80
GetTargetFinished
Method · 0.80
GetCombatMode
Method · 0.80
GetTargetAssigned
Method · 0.80
IsKnownBy
Method · 0.80
GetTimeToLive
Method · 0.80
GetAIDisabled
Method · 0.80
IsEnemy
Method · 0.80
GetEnableFireTarget
Method · 0.80
IsHoldingFire
Method · 0.80
Surplus
Method · 0.80
Tested by
no test coverage detected