FTE's player cheat commands, for the host's player (entity 1), allowed as FTE's
SV_MayCheat allows them: with sv_cheats set, or always on a single-player server.
setpos/2(Cmd_SetPos_f) — with no position, prints the player's place as asetpos x y z pitch yaw rollline (origin and view angles); withx y z, moves the player there, stopped and in noclip (printingnoclip onwhen it was off), and withx y z pitch yaw rollalso turns the player (fixangleset)noclip/1(Cmd_Noclip_f) — noclip on (MOVETYPE_NOCLIP,SOLID_TRIGGER) or off (MOVETYPE_WALK,SOLID_SLIDEBOX, orSOLID_NOTwhen dead), printingnoclip ONornoclip OFF
Prints reach the player as svc_print at level 2 (QuakeServer.Outbox) and the
server's events.
server = QuakeServer.Cheats.setpos(server, ["-1250", "-718", "40"])
Summary
Functions
Run FTE's noclip for the player.
Run FTE's setpos with the command's arguments (the words after setpos).
Functions
@spec noclip(QuakeServer.Server.t()) :: QuakeServer.Server.t()
Run FTE's noclip for the player.
@spec setpos(QuakeServer.Server.t(), [String.t()]) :: QuakeServer.Server.t()
Run FTE's setpos with the command's arguments (the words after setpos).