Squirrel/Server/Functions/Game/SetSSVBridgeUpdateTime

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Example)
 
Line 1: Line 1:
__NOTOC__
+
{{Squirrel/Title|SetSSVBridgeUpdateTime}}
 
{{Squirrel/LUOnly}}
 
{{Squirrel/LUOnly}}
 
This function sets the automatic update time for the lift bridge leading to Shoreside Vale.
 
This function sets the automatic update time for the lift bridge leading to Shoreside Vale.

Latest revision as of 11:03, 11 October 2010

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

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

[edit] Syntax

  1. bool SetSSVBridgeUpdateTime( int iTime )

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

[edit] Example

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

[edit] Notes

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

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox