Page MenuHomeFeedback Tracker

3DenCamera is re-placed after OnMissionPreviewEnd eventhandler fired and executed. VERSION 1.55.133346
Closed, ResolvedPublic

Description

VERSION 1.55.133346
3Den Editor camera is re-placed after OnMissionPreviewEnd eventhandler fired, thus there is no (reasonable) way to adjust camera position via scripting after user exit mission preview.

Details

Legacy ID
1792204962
Severity
None
Resolution
Not Fixable
Reproducibility
Always
Category
Eden Editor
Steps To Reproduce

VERSION 1.55.133346

add3DENEventHandler ["OnMissionPreviewEnd",{

get3DENCamera setPosATL [0,0,0];
get3DENCamera setDir 0;
[get3DENCamera, 0, 0] call BIS_fnc_setPitchBank;

}];

--------OR-------

class Cfg3DEN {
class EventHandlers {

class myclass {
 OnMissionPreviewEnd = 
 '
   get3DENCamera setPosATL [0,0,0];
   get3DENCamera setDir 0;
   [get3DENCamera, 0, 0] call BIS_fnc_setPitchBank;
 ';
};

};
};

Additional Information

This issue were not there few builds ago. I am sure, cuz nothing changed in my scripts.

Ofcource spawn+sleep 0.01 help solve issue, but that is nasty.

Event Timeline

mind edited Steps To Reproduce. (Show Details)Nov 15 2015, 2:59 AM
mind edited Additional Information. (Show Details)
mind set Category to Eden Editor.
mind set Reproducibility to Always.
mind set Severity to None.
mind set Resolution to Not Fixable.
mind set Legacy ID to 1792204962.May 8 2016, 1:05 PM
mind edited a custom field.
Adam added a comment.Nov 19 2015, 10:37 AM

Hello, unfortunately we cannot do anything about this.