setPilotCameraTarget: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[Bool.+) * +\|x1=" to " |r1=$1 |x1=") |
||
Line 18: | Line 18: | ||
|p2= target: [[Object]] or [[Array]] - format PositionASL | |p2= target: [[Object]] or [[Array]] - format PositionASL | ||
| | |r1=[[Boolean]] | ||
|x1= <code>_pilotCamTrack = [[vehicle]] [[player]] '''setPilotCameraTarget''' [2100,4200,4.2];</code> | |x1= <code>_pilotCamTrack = [[vehicle]] [[player]] '''setPilotCameraTarget''' [2100,4200,4.2];</code> | ||
|x2= <code>_pilotCamTrack = [[vehicle]] [[player]] '''setPilotCameraTarget''' BIS_Edita;</code> | |x2= <code>_pilotCamTrack = [[vehicle]] [[player]] '''setPilotCameraTarget''' BIS_Edita;</code> | ||
|seealso= [[hasPilotCamera]], [[getPilotCameraPosition]], [[getPilotCameraDirection]], [[getPilotCameraRotation]], [[getPilotCameraTarget]], [[setPilotCameraDirection]], [[setPilotCameraRotation]] | |seealso= [[hasPilotCamera]], [[getPilotCameraPosition]], [[getPilotCameraDirection]], [[getPilotCameraRotation]], [[getPilotCameraTarget]], [[setPilotCameraDirection]], [[setPilotCameraRotation]] | ||
}} | }} |
Revision as of 03:37, 13 June 2021
Description
- Description:
- Description needed
- Groups:
- Pilot Camera
Syntax
- Syntax:
- object setPilotCameraTarget target
- Parameters:
- object: Object
- target: Object or Array - format PositionASL
- Return Value:
- Boolean
Examples
- Example 1:
_pilotCamTrack = vehicle player setPilotCameraTarget [2100,4200,4.2];
- Example 2:
_pilotCamTrack = vehicle player setPilotCameraTarget BIS_Edita;
Additional Information
- See also:
- hasPilotCameragetPilotCameraPositiongetPilotCameraDirectiongetPilotCameraRotationgetPilotCameraTargetsetPilotCameraDirectionsetPilotCameraRotation
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