ShowFlyingSign(messageName, objectName, targetPlayerID = -1, time = 1.0);
I "changed" it, and it stopped complaining, but my version didn't work and looked like this:
ShowFlyingSign("GetMapDataPath().."offli.txt","offlich", "targetPlayerID = -1", "time = 1.5");
ShowFlyingSign({path.."slavescaptured.txt";totalcost=tc},hero,PLAYER_1,5);
ShowFlyingSign(GetMapDataPath().."offlich.txt", off, Player_1, 5);
Original script:
function offlich()
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "off", nil);
ShowFlyingSign(GetMapDataPath().."offlich.txt", off, Player_1, 5);
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "off", "offlich");