getPilotCameraTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - " \|(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) +=" to " |$1=")
Line 19: Line 19:
* targetObject: [[Object]] - returns the tracked object, [[objNull]] if camera is only tracking an area
* targetObject: [[Object]] - returns the tracked object, [[objNull]] if camera is only tracking an area


|x1 = <code>_pilotCamTrack = ('''getPilotCameraTarget''' [[vehicle]] [[player]]) [[select]] 0;
|x1= <code>_pilotCamTrack = ('''getPilotCameraTarget''' [[vehicle]] [[player]]) [[select]] 0;
_pilotCamTargetPos = ('''getPilotCameraTarget''' [[vehicle]] [[player]]) [[select]] 1;
_pilotCamTargetPos = ('''getPilotCameraTarget''' [[vehicle]] [[player]]) [[select]] 1;
_pilotCamTarget = ('''getPilotCameraTarget''' [[vehicle]] [[player]]) [[select]] 2;
_pilotCamTarget = ('''getPilotCameraTarget''' [[vehicle]] [[player]]) [[select]] 2;

Revision as of 23:28, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Pilot Camera

Syntax

Syntax:
Syntax needed
Parameters:
object: Object
Return Value:
Return value needed

Examples

Example 1:
_pilotCamTrack = (getPilotCameraTarget vehicle player) select 0; _pilotCamTargetPos = (getPilotCameraTarget vehicle player) select 1; _pilotCamTarget = (getPilotCameraTarget vehicle player) select 2;

Additional Information

See also:
hasPilotCameragetPilotCameraPositiongetPilotCameraDirectiongetPilotCameraRotationsetPilotCameraDirectionsetPilotCameraRotationsetPilotCameraTarget

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