- Joined
- Feb 2, 2006
- Messages
- 1,630
I have played around a bit with cine filters for players only using GetLocalPlayer() and it led to desyncs in the game.
Is there some documentation which functions are really safe for players only?
We have these natives:
and then there are the BJs:
I would have thought that the first one CinematicFadeCommonBJ should be safe for players only but the second one CinematicFadeBJ is not since it uses a timer etc. and CinematicFilterGenericBJ isn't safe either because it uses AbortCinematicFadeBJ which destroys a timer. Is this correct or can I only use DisplayCineFilter in a GetLocalPlayer block?
Is there some documentation which functions are really safe for players only?
We have these natives:
Code:
native SetCineFilterTexture takes string filename returns nothing
native SetCineFilterBlendMode takes blendmode whichMode returns nothing
native SetCineFilterTexMapFlags takes texmapflags whichFlags returns nothing
native SetCineFilterStartUV takes real minu, real minv, real maxu, real maxv returns nothing
native SetCineFilterEndUV takes real minu, real minv, real maxu, real maxv returns nothing
native SetCineFilterStartColor takes integer red, integer green, integer blue, integer alpha returns nothing
native SetCineFilterEndColor takes integer red, integer green, integer blue, integer alpha returns nothing
native SetCineFilterDuration takes real duration returns nothing
native DisplayCineFilter takes boolean flag returns nothing
native IsCineFilterDisplayed takes nothing returns boolean
and then there are the BJs:
Code:
CinematicFadeCommonBJ
CinematicFadeBJ
CinematicFilterGenericBJ
I would have thought that the first one CinematicFadeCommonBJ should be safe for players only but the second one CinematicFadeBJ is not since it uses a timer etc. and CinematicFilterGenericBJ isn't safe either because it uses AbortCinematicFadeBJ which destroys a timer. Is this correct or can I only use DisplayCineFilter in a GetLocalPlayer block?