the values of "getPilotCameraDirection" and "getPilotCameraRotation" will not update if the pilot is an AI.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- AI Issues
Steps To Reproduce
- open a new map in 3den
- place a unit and make it the player
- place B_Plane_Fighter_01_Stealth_F with the following init:
this flyInHeight 1000;
_wp = group this addWaypoint [player, 0];
_wp setWaypointType "LOITER";
_wp setWaypointLoiterType "CIRCLE_L";
_wp setWaypointLoiterRadius 1000;
this setPilotCameraTarget player;
null = this spawn {
_run = true;
while {_run} do {
_dir = getPilotCameraDirection _this;
hint format["cam1 :%1",_dir];
sleep 1;
};
};
and make it playable
- the values in the hint stay the same until you sitch (with "u") to the pilot and will get "frozen" again when you switch back