Camera::playAnim: Difference between revisions
MrPancakers (talk | contribs) mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Atleast one time in a script for the zRot Rockstar uses GET_ENTITY_HEADING to help fill the parameter.<br><br>p9 is unknown at this time.<br>p10 throughout all the X360 Scripts is always 2.<br><br>Animations | Atleast one time in a script for the zRot Rockstar uses GET_ENTITY_HEADING to help fill the parameter.<br><br>p9 is unknown at this time.<br>p10 throughout all the X360 Scripts is always 2.<br><br>Animations | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">camera.playAnim(animName, animDictionary, x, y, z, xRot, yRot, zRot, p9, p10);</syntaxhighlight> | <syntaxhighlight lang="javascript">camera.playAnim(animName, animDictionary, x, y, z, xRot, yRot, zRot, p9, p10);</syntaxhighlight> | ||
Latest revision as of 21:25, 14 July 2019
Atleast one time in a script for the zRot Rockstar uses GET_ENTITY_HEADING to help fill the parameter.
p9 is unknown at this time.
p10 throughout all the X360 Scripts is always 2.
Animations
Syntax
camera.playAnim(animName, animDictionary, x, y, z, xRot, yRot, zRot, p9, p10);
Required Arguments
- animName: String
- animDictionary: String
- x: float
- y: float
- z: float
- xRot: float
- yRot: float
- zRot: float
- p9: Boolean
- p10: int
Return value
- Boolean
Example
// todo
See also
- Functions:
- Camera::Camera
- Camera.animatedShake
- Camera.attachTo
- Camera.attachToPedBone
- Camera.destroy
- Camera.detach
- Camera.doesExist
- Camera.getAnimCurrentPhase
- Camera.getCoord
- Camera.getDirection
- Camera.getFarClip
- Camera.getFarDof
- Camera.getFov
- Camera.getNearClip
- Camera.getRot
- Camera.getSplinePhase
- Camera.isActive
- Camera.isInterpolating
- Camera.isPlayingAnim
- Camera.isRendering
- Camera.isShaking
- Camera.playAnim
- Camera.pointAt
- Camera.pointAtCoord
- Camera.pointAtPedBone
- Camera.setActive
- Camera.setActiveWithInterp
- Camera.setAffectsAiming
- Camera.setAnimCurrentPhase
- Camera.setCoord
- Camera.setDebugName
- Camera.setDofFnumberOfLens
- Camera.setDofFocusDistanceBias
- Camera.setDofMaxNearInFocusDistance
- Camera.setDofMaxNearInFocusDistanceBlendLevel
- Camera.setDofPlanes
- Camera.setDofStrength
- Camera.setFarClip
- Camera.setFarDof
- Camera.setFov
- Camera.setInheritRollVehicle
- Camera.setMotionBlurStrength
- Camera.setNearClip
- Camera.setNearDof
- Camera.setParams
- Camera.setRot
- Camera.setShakeAmplitude
- Camera.setUseShallowDofMode
- Camera.shake
- Camera.stopPointing
- Camera.stopShaking
- Camera.setDofParam
- Camera.getDofParam
- Properties: