onClientEnterSphere

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This event is called when the local player enters a sphere

Syntax

  1. function onClientEnterSphere( sphere )

Arguments

  • sphere - The pointer of the sphere entered

Example

Some explanation here


Example 1: Say "hello world" when somebody enters the sphere

  1.  
  2. function onClientEnterSphere(sphere)
  3. {
  4. Message("hello world");
  5. }
  6.  

Notes

-- List of used functions and other notes here.

Message

sphere.Pos

Related Events

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox