SetObjectiveProgress(quest_name, stage_number).
where stage_number corresponds to 1, 2, ...
New here? I'm Roha — want a quick tour?
User01322342, the "progress" field should contain as many items as there are stages in the quest. The first one appears immediately upon issuance, the rest after completion.
SetObjectiveProgress(quest_name, stage_number).
where stage_number is 1, 2, ...
In this quest, the goal is to defeat 5 groups of creatures. How can this be done using Objective_Kind_Manual?
if (quest is active)
if (the number of creature groups has changed)
change the quest progress
end
end
I don't quite remember the types of quests; is Objective_Kind_Manual fully described through scripts? Then you can add a check to the end-of-battle trigger:if (quest is active)
if (number of creature groups has changed)
change quest progress
end
end
Trigger(COMBAT_RESULTS_TRIGGER, 'CombatResult');
function CombatResult(id)
...
endYou can check if the required units have been killed by giving them names and calling the function IsObjectExists(object_name).
You can check the status of a quest using the functions GetObjectiveState() and GetObjectiveProgress().
You can check if the necessary units have been killed by giving them names and calling the functionTrigger(COMBAT_RESULTS_TRIGGER, 'CombatResult');
function CombatResult(id)
...
endYou can check the status of a quest using the functionsIsObjectExists(object_name)GetObjectiveState()
GetObjectiveProgress()
CombatResult(id), what should be inside the parentheses?
types of creature animations for the PlayObjectAnimation team
Is the IsRemovable property set to true?