_DAMAGE_OBJECT_FRAGMENT_BY_INDEX
Damages or breaks a specific predefined fragment/section of an object using the provided fragment index. Unlike generic damage systems, this native appears to directly target one of the object's internal fracture sections. The index parameter determines which part of the object is damaged or broken. Different index values cause different fragments of the object to detach or break.
OBJECTBuild 1207
Signature
lua
DamageObjectFragmentByIndex(object, 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Object | — | |
| int | — |
Usage
lua
DamageObjectFragmentByIndex(object, 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
