Difference between revisions of "0003"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | |||
− | |||
'''Number of parameters(P):''' 1 | '''Number of parameters(P):''' 1 | ||
Line 13: | Line 11: | ||
'''ini variations:'''<br> | '''ini variations:'''<br> | ||
''original:'' 0003=1,shake_camera %1d%<br> | ''original:'' 0003=1,shake_camera %1d%<br> | ||
− | '' | + | ''PLPynton:'' 0003=1,shake_camera %1d% <br> |
− | '' | + | ''spaceeinstein:'' 0003=1,shake_camera %1d% <br> |
'''C++ Hook Syntax:''' | '''C++ Hook Syntax:''' | ||
Line 23: | Line 21: | ||
'''Description:''' | '''Description:''' | ||
− | This opcode shakes the camera for a given amount of time (P) in milliseconds. Can usually be seen when large explosions occur in the game. The longer the time, the bigger ther camera shake. | + | This opcode shakes the in-game camera for a given amount of time (P) in milliseconds. Can usually be seen when large explosions occur in the game. The longer the time, the bigger ther camera shake. |
'''Parameters:''' | '''Parameters:''' | ||
P (integer) = time in milliseconds | P (integer) = time in milliseconds |
Revision as of 19:24, 17 February 2007
Number of parameters(P): 1
Works in:
III, VC, SA
Barton's Mission Builder Syntax:
0003: shake_camera 40
Sanny Builder Syntax:
Camera.Shake(40)
ini variations:
original: 0003=1,shake_camera %1d%
PLPynton: 0003=1,shake_camera %1d%
spaceeinstein: 0003=1,shake_camera %1d%
C++ Hook Syntax:
Spookie's Vice City C++ Hook: const SCRIPT_COMMAND shake_camera = { 0x0003, "i" };
op9080's San Andreas C++ Hook: DEFINE_OPCODE(shake_camera, 0x0003, "i");
Description:
This opcode shakes the in-game camera for a given amount of time (P) in milliseconds. Can usually be seen when large explosions occur in the game. The longer the time, the bigger ther camera shake.
Parameters:
P (integer) = time in milliseconds