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.
| Property | Type | Access | Description |
|---|---|---|---|
ID | integer | r | |
Pos | Vector | rw | Ground position of the tube. |
Radius | float | rw | Metres, drawn size and detection radius. |
Colour | Colour | rw | Marker colour. |
DisplayType / Type | integer | rw | 0 = 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. |
Owner | Player|null | r | The player for a player-only checkpoint, otherwise null. |
VirtualWorld | integer | rw | Only players in this world see it and trigger it. |
Methods and functions
- checkpoint.Remove – Removes the checkpoint.
Categories: Server classes