GetCameraInterior: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{ | {{Server client function}} | ||
Returns the interior of the local camera (independent of the interior of the local player). | Returns the interior of the local camera (independent of the interior of the local player). | ||
==Syntax== | ==Syntax== | ||
<section name="Server" class="server" show="true"> | |||
<syntaxhighlight lang="lua"> | |||
int getCameraInterior ( player thePlayer ) | |||
</syntaxhighlight> | |||
===Required Arguments=== | |||
'''thePlayer''': the player whose camera interior you want to check. | |||
</section> | |||
<section name="Client" class="client" show="true"> | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
int getCameraInterior ( ) | int getCameraInterior ( ) | ||
Line 10: | Line 20: | ||
===Required Arguments=== | ===Required Arguments=== | ||
''None'' | ''None'' | ||
</section> | |||
===Returns=== | ===Returns=== | ||
Returns the | Returns an ''integer'' indicating the camera's interior, ''false'' if the argument is invalid. | ||
==Example== | ==Example== | ||
==See Also== | ==See Also== | ||
{{ | {{Camera functions}} |
Revision as of 05:32, 16 March 2008
Returns the interior of the local camera (independent of the interior of the local player).
Syntax
Click to collapse [-]
Serverint getCameraInterior ( player thePlayer )
Required Arguments
thePlayer: the player whose camera interior you want to check.
Click to collapse [-]
Clientint getCameraInterior ( )
Required Arguments
None
Returns
Returns an integer indicating the camera's interior, false if the argument is invalid.
Example
See Also
- fadeCamera
- getCameraInterior
- getCameraMatrix
- getCameraTarget
- setCameraInterior
- setCameraMatrix
- setCameraTarget