Squirrel/Server/Functions/Game/SetSSVBridgeLock

From Liberty Unleashed Wiki
Revision as of 01:53, 7 January 2010 by Force (Talk | contribs)

Jump to: navigation, search
LU This function works in Liberty Unleashed only.

This function locks or unlocks the lift bridge leading to Shoreside Vale.

Syntax

  1. bool SetSSVBridgeLock( bool bLocked )

Arguments

  • bLocked - A boolean representing whether the bridge should be locked or unlocked

Example

  1.  
  2. function onPlayerCommand( player, command, text )
  3. {
  4. if ( command == "setssvlock" ) SetSSVBridgeLock( true );
  5. }
  6.  
  7.  

Notes

This command is used to set the lock on the SSV bridge to locked/unlocked (true/false)

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox