Skip to main content

Execute_AddDemerit

Description

Adds a demerit point to the BaseObject school student. The amount is looked up from DA->DemeritPointsByReason[S1]. After accumulation, the total is compared to DA->DemeritThresholdForCounseling and a counseling SocialEvent is triggered when reached. Every call posts an activity feed wall message with the current total.

Parameters

ParameterDescription
BaseObjectStudent character with an active school career slot.
S1EB1SchoolDemeritReason. Valid values: Deviance, GradeF, Fight.