Execute_CastPromVote
Description
Casts Self's prom vote for the NonBaseObject target in the given gender category. Requires Self to be enrolled in a school and NonBaseObject to resolve to a valid entity. Silently no-ops if Self has no school, the target is unresolved, or S1 is not Male/Female.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The voter (Self) — used to resolve the voter's school. |
| NonBaseObject | The character being voted for (resolved automatically as the opposite of BaseObject). |
| S1 | EB1GenderType (Male/Female) — the prom royalty category being voted for. |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Self votes Target for Prom King (Male) | Self | CastPromVote | Male |
| Self votes Target for Prom Queen (Female) | Self | CastPromVote | Female |
Back to Command FinderSearch and filter all 399 Script Execution documents