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

Function aPriestKeyExit

scripts/Level6.cpp:977–987  ·  view source on GitHub ↗

$$ACTION Scripts Call When [o:Player] Exits Priest Puzzle aPriestKeyExit Call When Player Exits Priest Puzzle $$END */

Source from the content-addressed store, hash-verified

975$$END
976*/
977void aPriestKeyExit(int Player) {
978 if (Player == Var_SavedObject) {
979 PriestJustExitPuzzle();
980 Var_ThereIsPlayerInPriestKeyPuzzle = 0;
981 Var_PriestPlayerCurrentRoom = PriestKeySafeRoom;
982 Var_PriestPlayerCurrNode = 0;
983 Var_PriestPuzzleGoofed = 0;
984 PriestPlaySoundAtNode(-1);
985 PriestTurnForceFieldOn(false);
986 }
987}
988
989/*
990$$ACTION

Callers 1

CallEventMethod · 0.85

Calls 3

PriestJustExitPuzzleFunction · 0.85
PriestPlaySoundAtNodeFunction · 0.85
PriestTurnForceFieldOnFunction · 0.85

Tested by

no test coverage detected