Skip to main content

B1CrimeTableRow

Crime definition table row.
Defines a specific type of crime, its score thresholds, associated behaviors, and scripts.

PropertyTypeDescriptionMetadata
DisplayTextIdFStringString table key for the localized display name of this crime.Category: Crime
StringTableKey: Id
CrimeScoreMinfloatMinimum allowed crime score for this crime.Category: Crime
CrimeScoreMaxfloatMaximum allowed crime score for this crime.Category: Crime
CrimeScoreReportThresholdfloatCrime score threshold at or above which the crime report scripts (CrimeReportScriptIds) will be executed.Category: Crime
CriminalBehaviorsTArrayList of behaviors that belong to this crime.Category: Crime
CriminalBehaviorScriptIdsTArrayScript IDs to execute when a criminal behavior occurs, regardless of whether conditions (FB1CriminalBehavior::ConditionIds) pass.Category: B1CrimeTableRow
Foreign: Script_Crime.Id
CrimeReportScriptIdsTArrayScript IDs to execute when this crime is reported.Category: B1CrimeTableRow
Foreign: Script_Crime.Id
IdFNameUnique IdCategory: B1TableRowBase
CommentFStringDev CommentCategory: B1TableRowBase