_FIND_SCENARIO_AT_OBJECT_OF_TYPE
Returns a scenario point handle of the given scenario type that is associated with / found near the specified object. Useful for attached scenarios (e.g., ransackable lockboxes on a prop)
TASKBuild 1207
Signature
lua
FindScenarioAtObjectOfType(object, 0.0, 0.0, 0.0, GetHashKey("..."), 0.0)
-- returns intParameters
| Name | Type | Description |
|---|---|---|
| Object | — | |
| float | — | |
| float | — | |
| float | — | |
| Hash | — | |
| float | — |
Usage
lua
FindScenarioAtObjectOfType(object, 0.0, 0.0, 0.0, GetHashKey("..."), 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
