2018-12-29 16:05:19 -08:00
|
|
|
# Game
|
|
|
|
|
|
|
|
TODO
|
|
|
|
|
|
|
|
```
|
|
|
|
string G_SkillName();
|
|
|
|
int G_SkillPropertyInt(int p);
|
|
|
|
double G_SkillPropertyFloat(int p);
|
|
|
|
|
2019-04-07 03:11:50 -07:00
|
|
|
deprecated("3.8") vector3, int G_PickDeathmatchStart();
|
|
|
|
deprecated("3.8") vector3, int G_PickPlayerStart(int pnum, int flags = 0);
|
2018-12-29 16:05:19 -08:00
|
|
|
```
|
|
|
|
|
|
|
|
- `G_SkillName`
|
|
|
|
|
|
|
|
The name of the skill in play.
|
|
|
|
|
|
|
|
- `G_SkillPropertyInt`
|
|
|
|
|
|
|
|
Returns a skill property. `p` may be:
|
|
|
|
|
|
|
|
| Name |
|
|
|
|
| ---- |
|
|
|
|
| `SKILLP_ACSReturn` |
|
|
|
|
| `SKILLP_AutoUseHealth` |
|
|
|
|
| `SKILLP_DisableCheats` |
|
|
|
|
| `SKILLP_EasyBossBrain` |
|
|
|
|
| `SKILLP_EasyKey` |
|
|
|
|
| `SKILLP_FastMonsters` |
|
|
|
|
| `SKILLP_Infight` |
|
|
|
|
| `SKILLP_NoPain` |
|
|
|
|
| `SKILLP_PlayerRespawn` |
|
|
|
|
| `SKILLP_RespawnLimit` |
|
|
|
|
| `SKILLP_Respawn` |
|
|
|
|
| `SKILLP_SlowMonsters` |
|
|
|
|
| `SKILLP_SpawnFilter` |
|
|
|
|
|
|
|
|
- `G_SkillPropertyFloat`
|
|
|
|
|
|
|
|
Returns a skill property. `p` may be:
|
|
|
|
|
|
|
|
| Name |
|
|
|
|
| ---- |
|
|
|
|
| `SKILLP_Aggressiveness` |
|
|
|
|
| `SKILLP_AmmoFactor` |
|
|
|
|
| `SKILLP_ArmorFactor` |
|
|
|
|
| `SKILLP_DamageFactor` |
|
|
|
|
| `SKILLP_DropAmmoFactor` |
|
|
|
|
| `SKILLP_FriendlyHealth` |
|
|
|
|
| `SKILLP_HealthFactor` |
|
|
|
|
| `SKILLP_MonsterHealth` |
|
2018-12-29 20:04:32 -08:00
|
|
|
| `SKILLP_KickBackFactor` |
|
2018-12-29 16:05:19 -08:00
|
|
|
|
|
|
|
- `G_PickDeathmatchStart`
|
|
|
|
|
2019-04-07 03:11:50 -07:00
|
|
|
Note: This function is deprecated and `LevelLocals::PickDeathmatchStart`
|
|
|
|
should be used instead.
|
|
|
|
|
2018-12-29 16:05:19 -08:00
|
|
|
Returns the position and angle of a random death-match start location.
|
|
|
|
|
|
|
|
- `G_PickPlayerStart`
|
|
|
|
|
2019-04-07 03:11:50 -07:00
|
|
|
Note: This function is deprecated and `LevelLocals::PickPlayerStart` should
|
|
|
|
be used instead.
|
|
|
|
|
2019-02-02 18:06:35 -08:00
|
|
|
Returns the position and angle of a player start for player `pnum`. `flags`
|
|
|
|
may be:
|
2018-12-29 16:05:19 -08:00
|
|
|
|
|
|
|
| Name | Description |
|
|
|
|
| ---- | ----------- |
|
|
|
|
| `PPS_FORCERANDOM` | Always picks a random player spawn for this player. |
|
|
|
|
| `PPS_NOBLOCKINGCHECK` | Does not check if an object is blocking the player spawn. |
|
|
|
|
|
|
|
|
<!-- EOF -->
|