Squirrel/Server/Functions/Game/SetSSVBridgeLock

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Example)
 
Line 1: Line 1:
__NOTOC__
+
{{Squirrel/Title|SetSSVBridgeLock}}
 
{{Squirrel/LUOnly}}
 
{{Squirrel/LUOnly}}
 
This function locks or unlocks the lift bridge leading to Shoreside Vale.
 
This function locks or unlocks the lift bridge leading to Shoreside Vale.

Latest revision as of 11:02, 11 October 2010

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events
LU This function works in Liberty Unleashed only.

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

[edit] Syntax

  1. bool SetSSVBridgeLock( bool bLocked )

[edit] Arguments

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

[edit] Example

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

[edit] Notes

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

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox