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

Function PriestMoveDummy

scripts/Level6.cpp:927–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

925void PriestInit(void);
926
927void PriestMoveDummy(int pos) {
928 if (pos == -1 || pos == -2) {
929 aStoreObjectInPositionClipboard(DummyDefaultPos);
930 aMoveObjectToPositionClipboard(DummyObject);
931 return;
932 }
933
934 if (pos >= 0 && pos < 17) {
935 aStoreObjectInPositionClipboard(PriestSoundNodes[pos]);
936 aMoveObjectToPositionClipboard(DummyObject);
937 return;
938 }
939
940 aStoreObjectInPositionClipboard(DummyDefaultPos);
941 aMoveObjectToPositionClipboard(DummyObject);
942}
943
944/*
945$$ACTION

Callers 1

PriestPlaySoundAtNodeFunction · 0.85

Tested by

no test coverage detected