Hi!
I'm in the process of scripting various doors, curtains, and other similar objects, and I'm using this kind of script:
if self.property["open"] == true then play_animation(self, "close"); set_entity_property(self, "open", false); modify_navigation("t_-6_-2_-1", "t_-7_-2_-1", 1); modify_navigation("t_-7_-4_-1", "t_-7_-3_-1", 3); modify_navigation("t_-7_-3_-1", "t_-7_-2_-1", 3) else play_animation(self, "open"); set_entity_property(self, "open", true); modify_navigation("t_-6_-2_-1", "t_-7_-2_-1", 3); modify_navigation("t_-7_-4_-1", "t_-7_-3_-1", 1); modify_navigation("t_-7_-3_-1", "t_-7_-2_-1", 1) end
And while it works fine, apparently it forces the use of "pending" navigation every time I save instead of the "no interaction" navigation. It's not visible unless the script is closed and reloaded.