Advertisement
clark

Proposed Changes (fixed*)

Apr 6th, 2014
492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ScriptName VMcCarranControlTowerTriggerSCRIPT
  2.  
  3. short bDoneOnce;
  4.  
  5. BEGIN OnTriggerEnter CaptainCurtisREF
  6.     set VMS08.bCurtisInTower to 1;
  7. END
  8.  
  9. BEGIN OnTriggerLeave CaptainCurtisREF
  10.     set VMS08.bCurtisInTower to 0;
  11.     Set VMS08.bDisableCurtisPatrol to 0;
  12. END
  13.  
  14. BEGIN OnTriggerEnter Player
  15.     set VMS08.bPlayerInTower to 1;
  16.    
  17.     if (GetObjectiveDisplayed VMS08 30 && GetObjectiveCompleted VMS08 30 == 0 && bDoneOnce == 1)
  18.         Set bDoneOnce to 0;
  19.     endif;fixes resetquest not resetting the trigger.
  20.  
  21.     if (VMS08.bCurtisInTower && bDoneOnce == 0)
  22.         SetObjectiveCompleted VMS08 30 1;
  23.         if (VMS08.bCurtisAmbush == 0)
  24.             CaptainCurtisREF.SayTo player VMS08CurtisRadio1 0 1;
  25.             Set bDoneOnce to 1;
  26.         endif
  27.  
  28.         ;disable the monorail guards, whom curtis has conveniently reassigned tonight.
  29.         VMcCarranNCRTrooperMonorail1REF.Disable
  30.         VMcCarranNCRTrooperMonorail2REF.Disable
  31.         VMcCarranNCRTrooperMonorail3REF.Disable
  32.         VMcCarranNCRTrooperMonorail4REF.Disable
  33.  
  34.         Autosave;
  35.     endif
  36. END
  37.  
  38. BEGIN OnTriggerLeave Player
  39.     set VMS08.bPlayerInTower to 0;
  40. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement