Skip to content
#72
Auto-translated
You need to call the Trigger after the function, not during it. During execution, you need to cancel its performance. Example:
function FunEx (hero)
{code}
Trigger(REGION_ENTER_AND_STOP_TRIGGER,"RegEx",nil);
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER,"RegEx","FunEx",nil);
The principle is the same in another script.
You don't need to pay attention to the messages. The editor always complains, but sometimes it works anyway.

Statistics

Welcome our newest member: Emil