MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / StartTalk

Method StartTalk

ogsr_engine/xrGame/actor_communication.cpp:259–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259void CActor::StartTalk(CInventoryOwner* talk_partner, bool)
260{
261 if (auto det = smart_cast<CCustomDetector*>(inventory().ItemFromSlot(DETECTOR_SLOT)))
262 det->HideDetector(true);
263
264 CInventoryOwner::StartTalk(talk_partner);
265}
266/*
267void CActor::UpdateContact (u16 contact_id)
268{

Callers 1

RunTalkDialogMethod · 0.45

Calls 2

ItemFromSlotMethod · 0.80
HideDetectorMethod · 0.80

Tested by

no test coverage detected