Auto-translated
No, I actually need the "else" part here... if I remove it, the map will completely lose its meaning...
Added 13 minutes later
Unfortunately, your example script turned out to be non-functional. By the way, "object" refers to the hut where they should give a quest... But since there is a line SetObjectEnabled("gloria", nil);, it seems that the object's own function should not be executed, only the script, but when I enter the hut, it displays the message "There is no one here"...
Added 13 minutes later
Unfortunately, your example script turned out to be non-functional. By the way, "object" refers to the hut where they should give a quest... But since there is a line SetObjectEnabled("gloria", nil);, it seems that the object's own function should not be executed, only the script, but when I enter the hut, it displays the message "There is no one here"...