-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CBA_fnc_addPerFrameHandler not working in 3DEN #1355
Comments
No. |
No to which part of the question and why? |
No to moving PFH et al to preInit. That would break a lot of things. |
Might be worth mentioning in the listed functions then, that it does not work during preInit and as such does not work in briefing and 3DEN. Would it otherwise be possible to make an exception for 3DEN at least? |
You cannot tell that you are in 3den in preInit, as the |
do you have a FT ticket for that? Its not noted on biki or anywhere |
I gave up on documenting bugs on the wiki. |
Is |
Mods (complete and add to the following information):
1.98
3.15.1.200418 stable
Description:
CBA perFrameHandler system isn't active in 3DEN
Steps to reproduce:
Expected behavior:
The above functions, and all other functions that rely on CBA perFrameHandlers, to execute in 3DEN.
Where did the issue occur?
Log Files:
https://gist.github.com/Freddo3000/d918ed7916d3fa98c473cffa206cf287
Additional context:
This is caused by
addMissionEventHandler ["EachFrame", {call FUNC(onFrame)}];
being in postInit instead of preInit. Executing it manually in the debug console resolves the issue.I'd move it to preInit, and have
CBA_missionTime
set to start in postInit.The text was updated successfully, but these errors were encountered: