Difference between revisions of "Useful Scripts"
Jump to navigation
Jump to search
→Terminals: Added a switch variable so as not to unnecessarily reset GameSettings every frame
imported>Cipscis (→Hotkey: Shortened script slightly - see "Toggling a Variable Between Two Values" page) |
imported>Cipscis (→Terminals: Added a switch variable so as not to unnecessarily reset GameSettings every frame) |
||
Line 196: | Line 196: | ||
Short toggle | Short toggle | ||
Float minitimer | Float minitimer | ||
Short activated | |||
Begin OnActivate | Begin OnActivate | ||
set activated to 1 | |||
Activate ;For people without FOSE, still works. | Activate ;For people without FOSE, still works. | ||
con_setgamesetting sComputersHeader1 "GREAT ACADEMY OF VALHALLA" | con_setgamesetting sComputersHeader1 "GREAT ACADEMY OF VALHALLA" | ||
Line 208: | Line 210: | ||
begin gamemode | begin gamemode | ||
;On shutting down the terminal. Makes sure it doesn't show up on others. | if activated | ||
set activated to 0 | |||
;On shutting down the terminal. Makes sure it doesn't show up on others. | |||
con_setgamesetting sComputersHeader1 "ROBCO INDUSTRIES UNIFIED OPERATING SYSTEM" | |||
con_setgamesetting sComputersHeader2 "COPYRIGHT 2075-2077 ROBCO INDUSTRIES " | |||
con_setgamesetting sHackingHeader "ROBCO INDUSTRIES (TM) TERMLINK PROTOCOL" | |||
con_setgamesetting shackingintro01 "WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK" | |||
con_setgamesetting shackingintro06 "Initializing Robco Industries(TM) MF Boot Agent v2.3.0" | |||
con_setgamesetting shackingintro09 "Copyright 2201-2203 Robco Ind." | |||
endif | |||
end | end | ||