Scripting/Server/Classes/Checkpoint

The glowing race marker of the Patriot Playground. Created with CreateCheckpoint (everybody) or CreateClientCheckpoint (one player). A checkpoint is detected as a tube: round in the ground plane, a few metres tall.

PropertyTypeAccessDescription
IDintegerr
PosVectorrwGround position of the tube.
RadiusfloatrwMetres, drawn size and detection radius.
ColourColourrwMarker colour.
DisplayType / Typeintegerrw0 = the pulsing orange glow column of the Patriot Playground race (default; the colour is used, orange when none is given; needs a 0.2.8 client, older ones show the ring), 1 = the translucent ring (same as a sphere), 2 = the floating arrow. Type is an alias.
OwnerPlayer|nullrThe player for a player-only checkpoint, otherwise null.
VirtualWorldintegerrwOnly players in this world see it and trigger it.

Methods and functions

Categories: Server classes