You're running into the issue wherein Global Events are only read by Osiris when they fire, they're not stored as a state anywhere (Event is true vs event is false). So you need some extra code to be toggled when the events are applied so that you can then call on that toggled value during your closing code.

Take a look at this thread, which goes into using database deletion or VarIntegers to achieve what you're after, then ask more questions here if you still run into trouble.

http://www.larian.com/forums/ubbthreads.php?ubb=showflat&Number=546652#Post546652

smile

Last edited by Noaloha; 27/08/14 07:53 AM.

Escape From Smalcatraz: Steam/Nexus. Forum thread.