Mudbill

Water & Ladders Script (Amnesia)

May 30th, 2013
357
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data