Scripting/Server/Functions/SetSSVBridgeLock

true stops the bridge exactly where it is (even mid-move). false (the default) lets the automatic cycle run again, also cancelling OpenSSVBridge() / CloseSSVBridge() holds.

Syntax

SetSSVBridgeLock(locked)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "setssvbridgelock" )
	{
		SetSSVBridgeLock( true );
	}
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Creating world entities

Categories: Server functions | Creating world entities