_SET_PROJECTILE_EFFECT_RADIUS
Sets the explosion or impact effect radius of a projectile entity (e.g., thrown dynamite or similar explosives). Notes: - Must be called before the projectile explodes; changing the radius afterward has no effect. - Commonly used after retrieving the projectile entity with MISC::GET_PROJECTILE_OF_PROJECTILE_TYPE_WITHIN_DISTANCE. - This does not trigger an explosion; it only defines how large the explosion’s area of effect will be. - Compared to MISC::ADD_EXPLOSION, which spawns a new explosion at a location, this modifies an existing projectile’s explosion properties.
WEAPONBuild 1207
Signature
lua
SetProjectileEffectRadius(projectile, 0.0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Entity | — | |
| float | — |
Usage
lua
SetProjectileEffectRadius(projectile, 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
