Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scn MyScriptName
- Int Phase1
- Int Phase2
- begin GameMode
- printc "script has been checked again"
- if Phase1 == 0
- printc "Phase is 0"
- player.additem Caps001 1
- set Phase1 to 1
- printc "cap added, phase set to 1"
- elseif Phase1 == 1
- printc "phase is 1"
- player.restoreav health 25
- set Phase1 to 2
- ;set this phase beyond a valid value so that the next elseif block catches phase2 being 1
- set Phase2 to 1
- printc "phase 1 complete health restored, phase 2 set"
- elseif Phase2 == 1
- printc "phase is 2"
- DogmeatREF.restoreav health 30
- set Phase2 to 0
- set Phase1 to 0
- printc "phase 2 complete, dogmeat health restored, phase 1 and 2 set to 0, script will loop
- endif
- end
Add Comment
Please, Sign In to add comment