_RESET_SCENARIO_FOR_ENTITY
Based on its name and signature, here is our best reading:
Resets the scenario point scenario for entity.
Signature
void _RESET_SCENARIO_FOR_ENTITY(int scenario, Entity entity); // 0x2E20878FD208A68E b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | scenario | int |
| 2 | entity | Entity |
Facts
| Name | _RESET_SCENARIO_FOR_ENTITY |
|---|---|
| Hash | 0x2E20878FD208A68E |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x2E20878FD208A68E, -- _RESET_SCENARIO_FOR_ENTITY
0, -- int scenario
PlayerPedId() -- Entity entity
)Citizen.invokeNative("0x2E20878FD208A68E", // _RESET_SCENARIO_FOR_ENTITY
0, // int scenario
PlayerPedId() // Entity entity
);Function.Call((Hash)0x2E20878FD208A68E, // _RESET_SCENARIO_FOR_ENTITY
0, // int scenario
API.PlayerPedId() // Entity entity
);Related TASK natives
- _RESET_SCENARIO_SCRIPT
- _ADD_COVER_POINT_FOR_ENTITY
- _GET_SCENARIO_POINT_ENTITY
- CREATE_SCENARIO_POINT_HASH_ATTACHED_TO_ENTITY
- GET_PROP_FOR_SCENARIO_POINT
- RESET_SCENARIO_GROUPS_ENABLED
- RESET_SCENARIO_TYPES_ENABLED
- TASK_FOLLOW_ENTITY_WHILE_AIMING_AT_ENTITY
- TASK_GO_TO_ENTITY_WHILE_AIMING_AT_ENTITY
- TASK_GO_TO_ENTITY_WHILE_AIMING_AT_ENTITY_USING_COMBAT_STYLE
- _ASSOCIATE_PROP_WITH_SCENARIO
- _DELETE_SCENARIO_POINT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.