Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ScriptName VMcCarranControlTowerTriggerSCRIPT
- short bDoneOnce;
- BEGIN OnTriggerEnter CaptainCurtisREF
- set VMS08.bCurtisInTower to 1;
- END
- BEGIN OnTriggerLeave CaptainCurtisREF
- set VMS08.bCurtisInTower to 0;
- Set VMS08.bDisableCurtisPatrol to 0;
- END
- BEGIN OnTriggerEnter Player
- set VMS08.bPlayerInTower to 1;
- if (GetObjectiveDisplayed VMS08 30 && GetObjectiveCompleted VMS08 30 == 0 && bDoneOnce == 1)
- Set bDoneOnce to 0;
- endif;fixes resetquest not resetting the trigger.
- if (VMS08.bCurtisInTower && bDoneOnce == 0)
- SetObjectiveCompleted VMS08 30 1;
- if (VMS08.bCurtisAmbush == 0)
- CaptainCurtisREF.SayTo player VMS08CurtisRadio1 0 1;
- Set bDoneOnce to 1;
- endif
- ;disable the monorail guards, whom curtis has conveniently reassigned tonight.
- VMcCarranNCRTrooperMonorail1REF.Disable
- VMcCarranNCRTrooperMonorail2REF.Disable
- VMcCarranNCRTrooperMonorail3REF.Disable
- VMcCarranNCRTrooperMonorail4REF.Disable
- Autosave;
- endif
- END
- BEGIN OnTriggerLeave Player
- set VMS08.bPlayerInTower to 0;
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement