Heres a thought that may work.
Have the trigger script be ready to save when the player is there at first, then have it turn the global to 0. Now have a new trigger inside the structure to make the global 1 again. That may work.
Code:
(global short entrance_exit_save 1)
(script continuous entrance_exit_save
(if (= entrance_exit_save 1)
(sleep_until (volume_test_objects entrance_exit_save (players)) 15)
(game_save)
(set entrance_exit_save 0)
)
(if (= entrance_exit_save 0)
(sleep_until (volume_test_objects entrance_exit_save_restart (players)) 15)
(set entrance_exit_save 1)
)
)
That may work. Not sure what you have already tried, scripting wise, but try this.
PS. If you want the player to not be able to go back into the structure and reactivate the script, just make two scripts. Should be easy enough.
Bookmarks