onClientEnterSphere

From Liberty Unleashed Wiki
Revision as of 18:34, 2 July 2015 by Benedani (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 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