Difference between revisions of "0003"

From GTAMods Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0003=1,%1d%
+
| games      = {{Icon|t}}
 +
| command    = SHAKE_CAM
 
| description = Shakes the in-game camera
 
| description = Shakes the in-game camera
| p1          = Integer (intensity of shaking)
+
| syntax1    = 0003: shake_camera [''int'']
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]], [[Liberty City Stories]], [[Vice City Stories]]
+
| syntax2    = Camera.Shake( [''int''] )
 +
| p1t        = [''int'']
 +
| p1d        = Intensity and duration of the shaking
 
}}
 
}}
This opcode shakes the in-game camera for a while. The higher the value is, the more the camera shakes.
 
  
==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
 +
 
 +
== See also ==
 +
* {{Icon|3}} [[0136]], shake camera with point

Latest revision as of 03:59, 3 January 2016

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

See also

  • GTA III 0136, shake camera with point