Condition_HasVotedProm
Description
Checks whether BaseObject has already cast a 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 voted) / NotEqual (has not voted). |
| S1 | EB1GenderType (Male/Female) — the prom royalty category to check. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if Self has voted for the Male category | Self | HasVotedProm | Equal | Male |
| Check if Self has not voted for the Female category | Self | HasVotedProm | NotEqual | Female |
Back to Command FinderSearch and filter all 491 Script Condition documents