Squirrel/Server/Functions/Game/OpenSSVBridge

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(New page: __NOTOC__ {{Squirrel/LUOnly}} 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 ...)
 
 
Line 1: Line 1:
__NOTOC__
+
{{Squirrel/Title|OpenSSVBridge}}
 
{{Squirrel/LUOnly}}
 
{{Squirrel/LUOnly}}
 
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.
 
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.

Latest revision as of 11:01, 11 October 2010

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.

[edit] Syntax

  1. bool OpenSSVBridge()

[edit] Arguments

  • none

[edit] 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.  

[edit] Notes

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

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox