_CREATE_GRAVITY_WELL
Creates a handle to an instance of "CScriptResource_GravityWell", this system forces local ped to target specified position when moving, however player still can interrupt this. Can be useful to "point" player at some specific position. Only works while on-foot. _CREATE_[P-Z]
PEDBuild 1207
Signature
lua
CreateGravityWell(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, true)
-- returns intParameters
| Name | Type | Description |
|---|---|---|
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| BOOL | — |
Usage
lua
CreateGravityWell(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
