Checkpoint.Remove

From Liberty Unleashed Wiki
Revision as of 17:56, 12 February 2012 by Nldsf (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function removes the checkpoint.

Syntax

  1. bool Checkpoint.Remove()

Arguments

  • none

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.  

Notes

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

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox