Does the issue occur in the editor or during gameplay?
During Gameplay
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
Grid Movement
Briefly describe the issue you're experiencing:
victory script and defeated script that are set for a battle don't seem to be working (since the 1.1 update)
I'm trying to use them turn off and on global so if there on they do something in my case display message, assign a value, then set a global and it don't even show the message let alone set the global or anything this happens on defeated script too
Are there any errors in the in-game debug console or external console window?
No
Provide the steps necessary to reproduce the issue:
here the scripts for both victory and defeated
victory
wait(5);
global.property["moralityvillage"] -= 5;
print(global.property["moralityvillage"]);
set_global_property("guard village defeted", true);
print(global.property["guard village defeted"]);
entity["guard 1"].behavior -= "Custom";
defeated
global.property["moralityvillage"] -= 1.5;
set_global_property("guard village defeted", false);
entity["guard 1"].behavior = "Custom";```