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

Method ShouldSpeakRandom

src/game/server/ai_playerally.cpp:1526–1551  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Return true if I should speak based on the chance & the speech filter's modifier -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

GetAllySpeechManagerFunction · 0.85
GetConceptInfoMethod · 0.80
GetIdleModifierMethod · 0.80
RandomIntMethod · 0.45

Tested by

no test coverage detected