zscript-doc/api/global/data/Constants.md

41 lines
611 B
Markdown
Raw Normal View History

2018-12-29 16:05:19 -08:00
# Constants
TODO
```
const MAXPLAYERNAME;
const MAXPLAYERS;
const DEFMELEERANGE;
const MISSILERANGE;
const PLAYERMISSILERANGE;
const SAWRANGE;
```
2019-08-14 03:31:41 -07:00
### `MAXPLAYERNAME`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The maximum length of a player name.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `MAXPLAYERS`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The maximum amount of players in game.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `DEFMELEERANGE`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The range where melee will be used for monsters, and the range for the player's
melee attacks.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `MISSILERANGE`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The maximum range for monster missile/hit-scan attacks.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `PLAYERMISSILERANGE`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The maximum range for player missile/hit-scan attacks.
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
### `SAWRANGE`
2018-12-29 16:05:19 -08:00
2019-08-14 03:31:41 -07:00
The range of Doom's Chainsaw weapon.
2018-12-29 16:05:19 -08:00
<!-- EOF -->