Auto-translated
Hello. I have a question. I want a message to pop up when clicking on the witch's hut, the fog of war to be revealed in a specific location, and a secondary quest to be added. Here's the function...
function ActQgoldenArmada()
MessageBox("/Maps/SingleMissions/rework (4)/golden.txt");
OpenCircleFog(206,6,0,15,PLAYER_1);
sleep(2);
MoveCamera(206,6,0,30,1,2,1,1);
Trigger(OBJECT_TOUCH_TRIGGER, "Qgolden", nil );
end;
Trigger(OBJECT_TOUCH_TRIGGER, "Qgolden", "ActQgoldenArmada" );
It works, but how do I activate the secondary quest? It should already be created on the map, but hidden, or something? Also, I need it to be a secondary quest, not a main one. Is there a different command for that? I think that's all. Thank you in advance for your explanations.
SetObjectiveState();
Try to find it in the manual, I don't remember exactly right now.
Кампания в разработке:
Название не придумал
Выполнено 5%
Название не придумал
Выполнено 5%