Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void MoveShelf(string &in asEntity, int alState)
- {
- if (GetLocalVarInt("Check") == 0)
- {
- if (alState == 1)
- {
- SetMoveObjectState("Shelf", 1);
- PlaySoundAtEntity("", "quest_completed.snt", "Shelf", 0, false);
- PlayMusic("01_puzzle_passage.ogg", false, 1.2, 0, 10, false);
- SetLocalVarInt("Check", 1);
- return;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement