Squirrel/Server/Functions/Checkpoints/Remove
From Liberty Unleashed Wiki
(Difference between revisions)
m |
|||
Line 1: | Line 1: | ||
− | {{Squirrel/Title|Checkpoint. | + | {{Squirrel/Title|Checkpoint.Remove}} |
This function removes the checkpoint. | This function removes the checkpoint. | ||
Latest revision as of 17:56, 12 February 2012
This function removes the checkpoint.
[edit] Syntax
bool Checkpoint.Remove()
[edit] Arguments
- none
[edit] Example
This example will remove the checkpoint when a player enters it.
function onPlayerEnterCheckpoint( player, checkpoint ) { checkpoint.Remove(); return 1; }
[edit] Notes
The event onPlayerEnterCheckpoint was used in this example. More info about it in the corresponding page.