Logic classunlock
Revision as of 16:31, 16 May 2019 by Johnny moe (talk | contribs) (Created page with "Allows you to control class unlocks. == Keyvalues == '''Class''' <string> : Sets the name of the class to watch for any outputs. '''Enables Bosses''' <choices> : When enab...")
Allows you to control class unlocks.
Keyvalues
Class <string>
- Sets the name of the class to watch for any outputs.
Enables Bosses <choices>
- When enabled, bosses spawn at wave end as normal.
- 0: No
- 1: Yes
Disable Class Selection
- Disables pressing F3 to open the class selection menu.
- 0: No
- 1: Yes
Inputs
input unlockclass <string>
- Forces a class to be unlocked.
input lockclass <string>
- Forces a class to be locked.
input setbossesenabled <integer>
- Enables or disables boss zombies.
Outputs
output OnClassUnlocked <void>
- Called when the class we're watching's class is unlocked by the game. This output isn't called if the class is unlocked by any logic_classunlock entities, only by the game.