Skip to content

World and entity calls from Domino ​

Group domino · 10 exports · from forks/gamexueren/scripthook.h (framework 1.0-beta7-wildm1, SH_API_VERSION 2)

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

ExportSummary
ShTriggerLightningOne lightning strike, queued in the weather system.
ShGetWetnessThe live ground wetness.
ShSetLightningFrequencyOverride the lightning rate, or 0 to hand it back.
ShSetGodModeThe player's own god and ghost bytes.
ShSetGhostModeSee ShSetGodMode.
ShGetGodModeSee ShSetGodMode.
ShExplosionShieldA sphere explosions ignore.
ShSetEntityPhysicsPhysics bodies on or off for one entity.
ShAttachEntityThe child follows the parent at an offset.
ShDetachEntitySee ShAttachEntity.

ShTriggerLightning ​

c
SH_API int   ShTriggerLightning(void);

One lightning strike, queued in the weather system.

scripthook.h, line 851

ShGetWetness ​

c
SH_API float ShGetWetness(void);

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

scripthook.h, line 854

ShSetLightningFrequency ​

c
SH_API int   ShSetLightningFrequency(int enable, float value);

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

scripthook.h, line 856

ShSetGodMode ​

c
SH_API int   ShSetGodMode(int on);

The player's own god and ghost bytes.

scripthook.h, line 859

ShSetGhostMode ​

c
SH_API int   ShSetGhostMode(int on);

Documented together with ShSetGodMode just above.

scripthook.h, line 860

ShGetGodMode ​

c
SH_API int   ShGetGodMode(void);

Documented together with ShSetGodMode just above.

scripthook.h, line 861

ShExplosionShield ​

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

A sphere explosions ignore. NULL clears it.

scripthook.h, line 864

ShSetEntityPhysics ​

c
SH_API int   ShSetEntityPhysics(uint64_t entity, int on);

Physics bodies on or off for one entity.

scripthook.h, line 867

ShAttachEntity ​

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

The child follows the parent at an offset.

scripthook.h, line 869

ShDetachEntity ​

c
SH_API int   ShDetachEntity(uint64_t child);

Documented together with ShAttachEntity just above.

scripthook.h, line 871

WildM is an independent community project. It is not affiliated with or endorsed by Ubisoft. Ghost Recon Wildlands is a trademark of Ubisoft Entertainment.