AddScore condition will be used by
levelLogicObj to track the points earned in this mission. Once the requisite number of points have been earned, this script will return
true. This, in turn, will dispatch the response of showing the
Success pop up via the
ShowLevel3Results response script. Writing this script requires the following steps to be performed:
condition_scoreAdded. Change the base class from
npcConditionas done with the other condition classes.
LevelLogicObjas shown in the following code: