Auto-translated
There's something strange happening in the file within the "gamemechanics" folder. I want to set the price to 1 coin; how can I do that in this case?
Here's the file.
New here? I'm Roha — want a quick tour?
3
to something like 0.01, the training cost will be very low.
function CheckAnpossal()
while 1 do
sleep(5)
if GetObjectOwner ('houseElf') == PLAYER_2 then
sleep(10)
SetObjectiveState('q4', OBJECTIVE_FAILED, 1);
sleep(10)
Loose ();
Trigger(OBJECT_CAPTURE_TRIGGER, 'houseElf', nil)
break
end
end
end
startThread (CheckAnpossal)
This command isn't working. After the town is captured, nothing happens. There are no errors. Where could I have made a mistake? Thanks in advance.
Hey guys, I have a question. Can you tell me what's wrong?
The situation: there's an elven town belonging to an elf (Player 3). If Player 2 captures it, the quest fails, and the game is lost.This command doesn't work. Nothing happens after the town is captured. There are no errors. Where could I have made a mistake? Thanks in advance.function CheckAnpossal()
while 1 do
sleep(5)
if GetObjectOwner ('houseElf') == PLAYER_2 then
sleep(10)
SetObjectiveState('q4', OBJECTIVE_FAILED, 1);
sleep(10)
Loose ();
Trigger(OBJECT_CAPTURE_TRIGGER, 'houseElf', nil)
break
end
end
end
startThread (CheckAnpossal)