Auto-translated
Good luck!
New here? I'm Roha — want a quick tour?
Good luck
In my opinion, it's already solved. Change laDitana to Town (and in the script as well).
Try using IsObjectVisible(id_player, object_name)
Good afternoon, please tell me how I can implement the following idea using a script: There are 2 secondary quests (SO-1), to capture a neutral city and it is initially included in the tasks, and (SO-2), to control the surrounding mines, which is a hidden quest. The goal is to make quest SO-2 visible immediately after capturing the neutral city. I tried to do something similar, but it turned out to be not very clear, and is it possible to get a tutorial on this problem?
function detencion()
if GetObjectOwner("Dwarftown")==PLAYER_1 then
SetObjectiveVisible("SO-2", bVisible, "nPlayerID = 1")
Trigger(OBJECT_CAPTURE_TRIGGER,"Dwarftown1", "detencion")
end
end
Trigger(OBJECT_CAPTURE_TRIGGER, "Dwarftown1", nil)