SetCameraInterior: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (→Syntax) |
||
Line 6: | Line 6: | ||
<section name="Server" class="server" show="true"> | <section name="Server" class="server" show="true"> | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool setCameraInterior ( player thePlayer, int interior ) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 16: | Line 16: | ||
<section name="Client" class="client" show="true"> | <section name="Client" class="client" show="true"> | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool setCameraInterior ( int interior ) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 17:16, 19 April 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 [-]
Serverbool 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 [-]
Clientbool 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