Skip to content

Gametype ruleset changes

Lactozilla requested to merge respawndelaygametyperule into next

Adds GTR_RESPAWNDELAY, GTR_FRIENDLY and GTR_CUTSCENES.

What the heck? New hooks?

SeenPlayer

Hook format: addHook("SeenPlayer", functionname)
Function format: function(player_t player, player_t seenplayer)
Function return value: boolean (true to allow seeing the other player, false to disallow seeing the other player)

This hook runs when a player sees another player, with the seenames CVAR. Return false if the player is not meant to "see" the other one.

Edited by Lactozilla

Merge request reports

Loading