GetCameraPosition: Difference between revisions
Jump to navigation
Jump to search
JonChappell (talk | contribs) No edit summary |
JonChappell (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
string getCameraMode ( player thePlayer ) | string getCameraMode ( player thePlayer ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 04:23, 2 October 2006
This function returns a string containing the current mode of the specified player's camera.
Syntax
string getCameraMode ( player thePlayer )
Required Arguments
- thePlayer: The player whose camera mode you wish to obtain.
Returns
Returns a string with one of two values if successful:
- player: The camera is attached to a player or object.
- fixed: The camera is in a fixed position.
The function will return false if unsuccessful.
Example
See Also
- fadeCamera
- getCameraInterior
- getCameraMatrix
- getCameraTarget
- setCameraInterior
- setCameraMatrix
- setCameraTarget
This article needs checking. | |
Reason(s): Is the description correct? |