Execute_PrepareFans
Description
Makes sure the city of the BaseObject star has at least F1 fans before a fan activity recruits them. When fewer fans are in the city, eligible candidates (CanBeFan, not the star's household member or partner) become fans, spawned candidates first. Existing fans are not refreshed and no fan is evicted, so it stops at the city cap (city crowd x DA_Fan MaxFanRatio). With F2 above 0, only fans who can join an activity of F2 hours from now are counted and only such candidates become fans (see IsAvailableFan). Recruit the participants afterwards with the IsAvailableFan condition using the same hours.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Star whose city receives the fans. |
| F1 | Required fan count, a positive integer. |
| F2 | Activity length in hours from now, 0 to UB1FanDataAsset::MaxActivityHours. 0 counts every fan. |
Examples
| BaseObject | Execution | F1 | F2 |
|---|---|---|---|
| Self | PrepareFans | 5 | 3 |