Skip to content
Snippets Groups Projects

Player spawning and respawning related features

Open Lactozilla requested to merge gametype-refactor-player-spawns into next

Merge !2223 first.

New:

  • Added PlayerSpawnPoint(player) hook to Lua
    • Accepted return parameters:
      • x, y, z, angle, spawn_flipped, spawn_on_ceiling, height_is_relative (defaults to true if z was not provided), scale
      • Table containing: all of the above as keys
      • nil to do nothing
  • Added playerstarts, matchstarts, and teamstarts[] to Lua
  • Added G_FindPlayerStart, G_FindMatchStart, and G_FindTeamStart to Lua
  • Added map thing type 36 (Team Spawn Point)
    • String argument 1: Team this player spawn point belongs to

Fixed:

  • Nothing to add

Backwards compatible:

  • Nothing to add

Backwards incompatible:

  • Nothing to add

Merge request reports

Approval is optional
Merge blocked: 1 check failed

Merge details

  • The source branch is 982 commits behind the target branch.
  • 65 commits and 1 merge commit will be added to next.
  • Source branch will be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading