Skip to content
#480
Auto-translated
if IsObjectExists ('mon')==true then, sorry, here's a suggestion - but there's an error in the IsObjectExists function - the letter S is required at the end. If the monster doesn't exist, it outputs nil (specifically nil, and not various true or false values).
(It happens :smile04:, that's why I advised using a script editor to check).
Oligarch, in your case, you need
if IsObjectExists ('mon')==nil ...
Use prints - it's the ideal option for catching errors
print (IsObjectExists('mon')); - and check the console.

Statistics

Welcome our newest member: leyu