onClientExitCheckpoint

From Liberty Unleashed Wiki
Revision as of 02:37, 2 August 2011 by Stormeus (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 event is called when the local player exits a checkpoint

Syntax

  1. function onClientExitCheckpoint( checkpoint )

Arguments

  • checkpoint - The pointer of the checkpoint exited

Example

This code messages the player telling them they left a checkpoint.

  1.  
  2. function onClientExitCheckpoint( checkpoint )
  3. {
  4. Message("You just left checkpoint " + checkpoint.ID);
  5. }
  6.  

Notes

The function Message was used in this example. More info in its corresponding page.

Related Events

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox