Squirrel/Server/Functions/Game/SetSSVBridgeUpdateTime

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

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

This function sets the automatic update time for the lift bridge leading to Shoreside Vale.

Syntax

  1. bool SetSSVBridgeUpdateTime( int iTime )

Arguments

  • iTime - Bridge update time in seconds. This time is the interval starting from when the bridge opens to the moment when it prepares to close again (when the bells start to ring)

Example

  1.  
  2. function onPlayerCommand( player, command, text )
  3. {
  4. if ( command == "setssvupdate" ) SetSSVBridgeUpdateTime( text.tointeger() );
  5. }
  6.  
  7.  

Notes

This command is used to set the update time on the SSV bridge to the amount specified in the text parameter.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox