MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / Bot_ForceFireWeapon

Function Bot_ForceFireWeapon

src/game/server/sdk/sdk_bot_temp.cpp:351–377  ·  view source on GitHub ↗

If bots are being forced to fire a weapon, see if I have it

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Bot_ThinkFunction · 0.70

Calls 6

Weapon_OwnsThisTypeMethod · 0.80
RandomFloatFunction · 0.50
GetStringMethod · 0.45
GetActiveWeaponMethod · 0.45
Weapon_SwitchMethod · 0.45
GetBoolMethod · 0.45

Tested by

no test coverage detected