Squirrel/Server/Functions/Game/SetSSVBridgeUpdateTime
From Liberty Unleashed Wiki
(Difference between revisions)
(→Example) |
|||
Line 1: | Line 1: | ||
− | + | {{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
This function sets the automatic update time for the lift bridge leading to Shoreside Vale.
[edit] Syntax
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
function onPlayerCommand( player, command, text ) { if ( command == "setssvupdate" ) SetSSVBridgeUpdateTime( text.tointeger() ); }
[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
- CloseGarage
- CloseSSVBridge
- EnableTrains
- GetBoundariesLower
- GetBoundariesUpper
- GetFriendlyFire
- GetGamespeed
- GetGravity
- GetHour
- GetIslands
- GetMinute
- GetSSVBridgeLock
- GetSSVBridgeUpdateTime
- GetSurfaceTraction
- GetTimeLock
- GetWeather
- GetWeatherLock
- IsSSVBridgeUp
- OpenGarage
- OpenSSVBridge
- SetBoundaries
- SetFriendlyFire
- SetGamespeed
- SetGravity
- SetIslands
- SetSSVBridgeLock
- SetSSVBridgeUpdateTime
- SetSurfaceTraction
- SetTime
- SetTimeLock
- SetWeather
- SetWeatherLock