Skip to main content

Condition_HasPendingPromVote

Description

Checks whether BaseObject has a pending (not-yet-finalized) prom vote for the given gender category. Returns false (regardless of CompareType) if BaseObject isn't enrolled at a school.

Parameters

ParameterDescription
BaseObjectThe character to check.
CompareTypeEqual (has a pending vote) / NotEqual (does not).
S1EB1GenderType (Male/Female) — the prom royalty category to check.

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if Self has a pending Male-category voteSelfHasPendingPromVoteEqualMale
Check if Self has no pending Female-category voteSelfHasPendingPromVoteNotEqualFemale