RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. TASK_START_SCENARIO_IN_PLACE_HASH

TASK_START_SCENARIO_IN_PLACE_HASH

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).

TASKBuild 1207

Signature

lua
TaskStartScenarioInPlaceHash(PlayerPedId(), GetHashKey("..."), 0, true, GetHashKey("..."), 0.0, true)
-- returns void

Parameters

NameTypeDescription
Ped—
Hash—
int—
BOOL—
Hash—
float—
BOOL—

Usage

lua
TaskStartScenarioInPlaceHash(PlayerPedId(), GetHashKey("..."), 0, true, GetHashKey("..."), 0.0, true)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details