Condition_FilmRole
Description
Checks whether the current site event of the entity resolved from BaseObject casts the S1 film role (FilmContext.RoleId). Returns false when the event has no film.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The entity whose current site event is checked. |
| CompareType | Equal: the role matches; NotEqual: it does not. |
| S1 | Film role id (one of Film.RoleInfos.RoleId). |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Cast as the lead of the film | Self | FilmRole | Equal | Lead |