onSSVBridgeUpdate

From Liberty Unleashed Wiki
Revision as of 16:48, 8 November 2010 by Juppi (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
LU This function works in Liberty Unleashed only.

This event is called when the lift bridge leading to Shoreside Vale is either closing or opening.

Syntax

  1. function onSSVBridgeUpdate( bool closing )

Arguments

  • closing - Is the bridge closing (moving up) or opening

Returns

This event does not handle return values.

Example

This example will warn players when the bridge is closing.

  1.  
  2. function onSSVBridgeUpdate( closing )
  3. {
  4. if ( closing ) Message( "Warning: SSV bridge is closing!" );
  5. return 1;
  6. }
  7.  

Notes

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

Related Events

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox