_GET_OBJECT_FRAGMENT_COUNT
Returns the number of breakable fragments (indexed sections) defined for the specified object. These fragments can be triggered individually using natives that target object fracture indices. eg: a box of bottles can have multiple fragments that can be broken individually.
OBJECTBuild 1207
Signature
lua
GetObjectFragmentCount(object)
-- returns intParameters
| Name | Type | Description |
|---|---|---|
| Object | — |
Usage
lua
GetObjectFragmentCount(object)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
