It appears that gScreen always defines as the same number (which, at a guess, is somehow related to the date — it was 1303832 on 10/30/14, but changed to 1304352 at midnight), and is subsequently never undefined by anything short of relaunching Transcendence. This behavior holds true regardless of mods loaded, choice of playership, or adventure being played. Obviously the variable works for the screens it is supposed to called from, so I’m not sure that this could really be considered a bug. Even so, it seems like very odd behavior.
Code: Select all
<Events> <OnUpdate> (if (isError gScreen) (plyMessage gPlayer "Error!") (plyMessage gPlayer gScreen) ) </OnUpdate> <OnGlobalPaneInit> (scrSetDesc gScreen (cat (scrGetDesc gScreen) "\n\n" gScreen)) </OnGlobalPaneInit> </Events>
Atarlost suspects a bad pointer.