-
Notifications
You must be signed in to change notification settings - Fork 9
Class Object
Nicholas-Fuchs edited this page May 9, 2020
·
2 revisions
A Class object must have the follow properties:
- Name - String - The languageID name for the class
- Description - String - The languageID description for the class
- MaxHealth - Number - Class' max health
- PModel - String - Class' player model
- Speed - Number - Class' speed
- RunSpeed - Number - Class' run speed
- CrouchSpeed - Number - Class' crouched speed (percentage of speed)
- Gravity - Number - Class' gravity
- Breath - Number - Class' breath
- Footstep - Boolean - If class' footsteps should be heard
- JumpPower - Number - Class' jump power
- DamageAmplifier - Number - Class' damage amplifier
- Order - Number - The order that class will be shown
- FallFunction - function() return Boolean - The function that will handle if class should take fall damage
- ShouldBeEnabled - function() return Boolean - The function that will handle if class should be enable
- WeaponGive - function(Player) - Called when the becomes this class, used to handle weapon giving
- Ability - Ability - Object used to define player's ability