Auto-translated
Okay, I understand, I'll keep that in mind, thanks for the tip.
New here? I'm Roha — want a quick tour?
inQizitOr, if your code has the following commands in sequence:
disable monster;
remove skirt;
then insert a pause between them:
sleep(1);
All commands that affect objects on the map are executed in a different thread than your script, so the "disable monster" command actually only places itself in a task list and will only be executed when it's that thread's turn, and the surest way to do this is to pause the current thread, which sleep() does.
I created a message box, but everything needs to be in Unicode format, and the game says the file is empty. I copied the .txt file from the map archive, renamed it, entered the text, and put it back. It doesn't work. What's wrong?
What if you create a message with a link to a file that already exists in the map, so that it doesn't interfere with anything else? Would that work? Also, it's possible that the file path is misspelled.
because I copied it from an archiving program
1) How to change a hero's specialization
2) How to remove the player turn bar
There is a quest to defeat the demons.
Trigger(COMBAT_RESULTS_TRIGGER, 'CombatResult');
function CombatResult(id)
if the quest is active and both demons do not exist, update the quest
end
Also, don't forget about non-standard options, for example, check when issuing the quest whether the player has already killed them.