MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / SDS_BigRedButton

Method SDS_BigRedButton

src/SB/Game/zNPCGoalDuplotron.cpp:167–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167void zNPCGoalDuploLive::SDS_BigRedButton()
168{
169 zNPCDuplotron* npc = (zNPCDuplotron*)psyche->clt_owner;
170
171 if (livestat != LIVESTAT_COUNTDOWN)
172 {
173 livestat = LIVESTAT_COUNTDOWN;
174 cnt_destruct = 120; // 2 seconds
175
176 DoAutoAnim(NPC_GSPOT_ALTB, 0);
177
178 npc->DuploNotice(SM_NOTE_DUPDEAD, this);
179 }
180}
181
182S32 zNPCGoalDuploLive::SDS_Countdown(F32 dt)
183{

Callers

nothing calls this directly

Calls 2

DoAutoAnimFunction · 0.85
DuploNoticeMethod · 0.45

Tested by

no test coverage detected