where did you get this from? I don't have these functions in the official manuals.
Ah, okay, it worked now.
function regF()
sulfur=GetPlayerResource(1, 4);
if sulfur>=3 then
SetPlayerResource(1, 4, sulfur-10);
end;
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "reg", "regF");
Added 57 minutes later
In the World of Enroth map, there was an object - a UFO. How do I place it on the map?