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
| Parameter | Description |
|---|---|
| BaseObject | The character to check. |
| CompareType | Equal (has a pending vote) / NotEqual (does not). |
| S1 | EB1GenderType (Male/Female) — the prom royalty category to check. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if Self has a pending Male-category vote | Self | HasPendingPromVote | Equal | Male |
| Check if Self has no pending Female-category vote | Self | HasPendingPromVote | NotEqual | Female |
Back to Command FinderSearch and filter all 491 Script Condition documents