Originally Posted by Enodoc
Does anyone have a full breakdown of changes for CENTER_SCREEN_ANNOUNCE? I use three related functions from it, and I'm not sure how they will be affected.
...
Thanks!
|
It seems most/all member variables no longer have the "m_" prefix so just use this:
Code:
CENTER_SCREEN_ANNOUNCE.displayQueue
Or a simple if check if you want code to work on live and on pts for now.
As for
GetPriority() , it changed a bit since they changed from using an event code directly to a seperate set of constants. Before you would use
Code:
CENTER_SCREEN_ANNOUNCE:GetPriority(EVENT_KEEP_GATE_STATE_CHANGED)
Where as on pts you'd use
Code:
CENTER_SCREEN_ANNOUNCE:GetPriority(CENTER_SCREEN_ANNOUNCE_TYPE_KEEP_GATE_CHANGED)
There's a
type for each of those previous events with a priority but they have a slightly different name.
You can still use
AddMessage(...) as it became a wrapper function for the new code. It doesn't lose functionality. Now....depending on what exactly you want to do there might be more changes relevant to you.