camPrepareRelPos: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Prepares the camera position relative to the current position of the currect target (see [[camPrepareTarget]]). Needs the call of [[camCommitPrepared]] to be conducted. |= | | Prepares the camera position relative to the current position of the currect target (see [[camPrepareTarget]]). Needs the call of [[camCommitPrepared]] to be conducted. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| camera '''camPrepareRelPos''' position |= | | camera '''camPrepareRelPos''' position |SYNTAX= | ||
|p1= camera: [[Object]] |= | |p1= camera: [[Object]] |PARAMETER1= | ||
|p2= position: [[Array]] - format ([[PositionRelative]]) |= | |p2= position: [[Array]] - format ([[PositionRelative]]) |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> _camera '''camPrepareRelPos''' [10,5,-2] </code> |= | |x1= <code> _camera '''camPrepareRelPos''' [10,5,-2] </code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[camPreload]], [[camCommitPrepared]], [[camSetRelPos]] |= | | [[camPreload]], [[camCommitPrepared]], [[camSetRelPos]] |SEEALSO= | ||
}} | }} |
Revision as of 14:35, 7 April 2019
Description
- Description:
- Prepares the camera position relative to the current position of the currect target (see camPrepareTarget). Needs the call of camCommitPrepared to be conducted.
- Groups:
- Uncategorised
Syntax
- Syntax:
- camera camPrepareRelPos position
- Parameters:
- camera: Object
- position: Array - format (PositionRelative)
- Return Value:
- Nothing
Examples
- Example 1:
_camera camPrepareRelPos [10,5,-2]
Additional Information
- See also:
- camPreloadcamCommitPreparedcamSetRelPos
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note