Squirrel/Server/Functions/Camera/GetCinematicBorder
From Liberty Unleashed Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | This function | + | This function will return a boolean value of either true or false. |
== Syntax == | == Syntax == | ||
Line 17: | Line 17: | ||
=== Notes === | === Notes === | ||
− | + | This is useful for checking that the cinematic border isn't already active before setting it to true. | |
== Related Functions == | == Related Functions == | ||
{{Squirrel/Server/Functions/Camera}} | {{Squirrel/Server/Functions/Camera}} |
Revision as of 01:56, 7 January 2010
This function will return a boolean value of either true or false.
Syntax
GetCinematicBorder does not require any parameters.
Example
function onPlayerCommand( player, command, text ) { if ( command == "cinema" ) MessagePlayer( "Cinematic border is currently set to " + GetCinematicBorder(), player ); }
Notes
This is useful for checking that the cinematic border isn't already active before setting it to true.
Related Functions
- FadeCamera
- GetCinematicBorder
- RestoreCamera
- ShakeCamera
- SetCameraMatrix
- SetCinematicBorder