GRW ScriptHook 0.11.0
Plugin API for Ghost Recon Wildlands
Loading...
Searching...
No Matches
World and entity calls from Domino

Recovered from the mission script operators; see the map-domino files in scripthook/spawnmaps. More...

Functions

SH_API int ShTriggerLightning (void)
 One lightning strike, queued in the weather system.
SH_API float ShGetWetness (void)
 The live ground wetness.
SH_API int ShSetLightningFrequency (int enable, float value)
 Override the lightning rate, or 0 to hand it back.
SH_API int ShSetGodMode (int on)
 The player's own god and ghost bytes.
SH_API int ShSetGhostMode (int on)
SH_API int ShGetGodMode (void)
SH_API int ShExplosionShield (const ShVec3 *at, float radius)
 A sphere explosions ignore.
SH_API int ShSetEntityPhysics (uint64_t entity, int on)
 Physics bodies on or off for one entity.
SH_API int ShAttachEntity (uint64_t child, uint64_t parent, const ShVec3 *offset)
 The child follows the parent at an offset.
SH_API int ShDetachEntity (uint64_t child)

Detailed Description

Recovered from the mission script operators; see the map-domino files in scripthook/spawnmaps.

Function Documentation

◆ ShTriggerLightning()

SH_API int ShTriggerLightning ( void )

One lightning strike, queued in the weather system.

◆ ShGetWetness()

SH_API float ShGetWetness ( void )

The live ground wetness.

Writing it does nothing: the request slot is ignored, so there is no setter.

◆ ShSetLightningFrequency()

SH_API int ShSetLightningFrequency ( int enable,
float value )

Override the lightning rate, or 0 to hand it back.

◆ ShSetGodMode()

SH_API int ShSetGodMode ( int on)

The player's own god and ghost bytes.

◆ ShSetGhostMode()

SH_API int ShSetGhostMode ( int on)

◆ ShGetGodMode()

SH_API int ShGetGodMode ( void )

◆ ShExplosionShield()

SH_API int ShExplosionShield ( const ShVec3 * at,
float radius )

A sphere explosions ignore.

NULL clears it.

◆ ShSetEntityPhysics()

SH_API int ShSetEntityPhysics ( uint64_t entity,
int on )

Physics bodies on or off for one entity.

◆ ShAttachEntity()

SH_API int ShAttachEntity ( uint64_t child,
uint64_t parent,
const ShVec3 * offset )

The child follows the parent at an offset.

◆ ShDetachEntity()

SH_API int ShDetachEntity ( uint64_t child)