SetCameraInterior: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Client function}} Sets the interior of the local camera. Only the interior of the camera is changed, the local player stays in the interior he was in. ==Syntax== <syntaxhighlight lang="lua"> i...) |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{ | {{Server client function}} | ||
Sets the interior of the local camera. Only the interior of the camera is changed, the local player stays in the interior he was in. | Sets the interior of the local camera. Only the interior of the camera is changed, the local player stays in the interior he was in. | ||
==Syntax== | ==Syntax== | ||
<section name="Server" class="server" show="true"> | |||
<syntaxhighlight lang="lua"> | |||
int setCameraInterior ( player thePlayer, int interior ) | |||
</syntaxhighlight> | |||
===Required Arguments=== | |||
*'''thePlayer:''' the player whose camera interior will be set. | |||
*'''interior:''' the interior to place the camera in. | |||
</section> | |||
<section name="Client" class="client" show="true"> | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
int setCameraInterior ( int interior ) | int setCameraInterior ( int interior ) | ||
Line 10: | Line 21: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''interior:''' the interior to place the camera in. | *'''interior:''' the interior to place the camera in. | ||
</section> | |||
===Returns=== | ===Returns=== | ||
Returns '''interior'''. | Returns ''true'' if the camera's interior was changed successfully, ''false'' otherwise. | ||
==Example== | ==Example== |
Revision as of 05:35, 16 March 2008
Sets the interior of the local camera. Only the interior of the camera is changed, the local player stays in the interior he was in.
Syntax
Click to collapse [-]
Serverint setCameraInterior ( player thePlayer, int interior )
Required Arguments
- thePlayer: the player whose camera interior will be set.
- interior: the interior to place the camera in.
Click to collapse [-]
Clientint setCameraInterior ( int interior )
Required Arguments
- interior: the interior to place the camera in.
Returns
Returns true if the camera's interior was changed successfully, false otherwise.
Example
See Also
- getCamera
- getCameraClip
- getCameraFieldOfView
- getCameraGoggleEffect
- getCameraViewMode
- setCameraClip
- setCameraFieldOfView
- setCameraGoggleEffect
- setCameraViewMode
- Shared
- fadeCamera
- getCameraInterior
- getCameraMatrix
- getCameraTarget
- setCameraInterior
- setCameraMatrix
- setCameraTarget