Squirrel/Server/Functions/Camera/GetCinematicBorder

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function moves the player's camera to the given position.

Syntax

GetCinematicBorder does not require any parameters.

Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
  1.  
  2. function onPlayerCommand( player, command, text )
  3. {
  4. 	if ( command == "cinema" )
  5. 	{
  6. 		MessagePlayer( "Cinematic border is currently set to " + GetCinematicBorder(), player );
  7. 	}
  8. }
  9.  

Notes

GetCinematicBorder will return a boolean value of either true or false.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox