Squirrel/Server/Functions/Checkpoints/Remove

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
m
 
Line 1: Line 1:
{{Squirrel/Title|Checkpoint.Colour}}
+
{{Squirrel/Title|Checkpoint.Remove}}
 
This function removes the checkpoint.
 
This function removes the checkpoint.
  

Latest revision as of 17:56, 12 February 2012

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function removes the checkpoint.

[edit] Syntax

  1. bool Checkpoint.Remove()

[edit] Arguments

  • none

[edit] Example

This example will remove the checkpoint when a player enters it.

  1.  
  2. function onPlayerEnterCheckpoint( player, checkpoint )
  3. {
  4. checkpoint.Remove();
  5. return 1;
  6. }
  7.  

[edit] Notes

The event onPlayerEnterCheckpoint was used in this example. More info about it in the corresponding page.

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox