Difference between revisions of "0003"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''SHAKE_CAM'''
| ini        = 0003=1,%1d%
+
<hr />
| description = Shakes the in-game camera
+
'''Description'''
| p1          = Integer (intensity of shaking)
+
: Shakes the in-game camera
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]], [[Liberty City Stories]], [[Vice City Stories]]
+
'''Syntax'''
}}
+
: 0003: shake_camera [''int'']
This opcode shakes the in-game camera for a while. The higher the value is, the more the camera shakes.
+
: Camera.Shake( [''int''] )
 +
'''Parameter'''
 +
: [''int'']
 +
:: Intensity and duration of the shaking
  
==Note==
+
This opcode shakes the in-game camera for a while. The higher the value is, the more and the longer the camera shakes.
In [[Sanny Builder]], this opcode is equivalent to the command '''Camera.Shake'''.  
 
  
Example: <source lang="scm">Camera.Shake(20)</source>
+
== Keywords ==
 +
shake, jostle, cam, camera
 +
 
 +
[[Category:OpCodes]]

Revision as of 03:29, 27 December 2014

GTA III Vice City San Andreas SHAKE_CAM


Description

Shakes the in-game camera

Syntax

0003: shake_camera [int]
Camera.Shake( [int] )

Parameter

[int]
Intensity and duration of the shaking

This opcode shakes the in-game camera for a while. The higher the value is, the more and the longer the camera shakes.

Keywords

shake, jostle, cam, camera