MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / aPriestKeyInit

Function aPriestKeyInit

scripts/Level6.cpp:998–1008  ·  view source on GitHub ↗

$$ACTION Scripts Initialize the Priest Key Puzzle aPriestKeyInit Initializes the Priest Key Puzzle for the level $$END */

Source from the content-addressed store, hash-verified

996$$END
997*/
998void aPriestKeyInit(void) {
999 PriestInit();
1000
1001 Var_ThereIsPlayerInPriestKeyPuzzle = 0;
1002 Var_PriestPlayerCurrentRoom = -1;
1003 Var_PriestPlayerCurrNode = 0;
1004 Var_PriestPuzzleCompleted = 0;
1005 Var_PriestPuzzleGoofed = 0;
1006 Var_PriestPuzzleCurrSoundNode = -1;
1007 PriestTurnForceFieldOn(false);
1008}
1009
1010void PriestInit(void) {
1011 mprintf(0, "aPriestKeyInit\n");

Callers 1

CallEventMethod · 0.85

Calls 2

PriestInitFunction · 0.85
PriestTurnForceFieldOnFunction · 0.85

Tested by

no test coverage detected