Advertisement
Mudbill

Water & Ladders Script (Amnesia)

May 30th, 2013
568
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. void OnStart()
  2. {
  3. AddEntityCollideCallback("Player", "AreaFadeOut", "Transition", false, 1);
  4. }
  5.  
  6. void Transition(string &in asParent, string &in asChild, int alState)
  7. {
  8. FadeOut(1);
  9. AddTimer("", 1, "TimerTransition");
  10. }
  11.  
  12. void TimerTransition(string &in asTimer)
  13. {
  14. ChangeMap("Level12", "", "", "");
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement