OpenSSVBridge

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events
LU This function works in Liberty Unleashed only.

This function opens the bridge leading to Shoreside Vale and connects Shoreside Vale to Staunton Island. If the bridge is already moving or down nothing will happen.

Syntax

  1. bool OpenSSVBridge()

Arguments

  • none

Example

This command will open the Shoreside Vale bridge when someone types '/openssv'.

  1.  
  2. function onPlayerCommand( plr, cmd, text )
  3. {
  4. if ( cmd == "openssv" )
  5. {
  6. MessagePlayer( "Opening Shoreside Vale Bridge", plr );
  7. OpenSSVBridge();
  8. }
  9. }
  10.  

Notes

The function MessagePlayer and call onPlayerCommand were used in in this example. More info about them in corresponding pages.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox