Quest Steps
v4.0
Check For Completion
Example
// In this example, we are checking to see if a specific QuestStep has been
// completed. If so, we will do additional things beyond all the automatic stuff
// that is done when a QuestStep completes.
if (questStepOfInterest.status == QuestStepStatus.InProgress
&& questStepOfInterest.CheckForCompletion())
{
if (questStepOfInterest.status == QuestStepStatus.Succeeded)
DoSomethingWeSucceeded();
else
DoSomethingWeFailed();
}
Set Succeeded and Set Failed
Set Succeeded or Failed if Not Completed
Set Can Revert
Add Custom Rewards
Remove Custom Rewards
Add Success or Failure Conditions
Remove Condition
Last updated