TaskStartScenarioInPlaceHash — RedM Natives
0x524B54361229154F · TASK · all
`` https://github.com/femga/rdr3_discoveries/blob/master/animations/scenarios Params: duration in milliseconds conditionalHash (optionally): 0 = play random conditional anim. Every conditional anim has requirements to play it. If requirements are not met, ped plays random allowed conditional anim or can be stuck. For example, this scenario type has possible conditional anim WORLD_HUMAN_LEAN_BACK_WALL_SMOKING_MALE_D, but it can not be played by player, because condition is set to NOT be CAIConditionIsPlayer (check file amb_rest.meta and amb_rest_CA.meta with OPENIV to clarify requirements). ``
Parameters
| Name | Type |
|---|---|
| ped | Ped |
| scenarioHash | Hash |
| duration | int |
| playEnterAnim | BOOL |
| conditionalHash | Hash |
| heading | float |
| p6 | BOOL |
Returns
void