Theme
World and entity calls from Domino
Recovered from the mission script operators; see the map-domino files in scripthook/spawnmaps.
| Export | Summary |
|---|---|
ShTriggerLightning | One lightning strike, queued in the weather system. |
ShGetWetness | The live ground wetness. |
ShSetLightningFrequency | Override the lightning rate, or 0 to hand it back. |
ShSetGodMode | The player's own god and ghost bytes. |
ShSetGhostMode | See ShSetGodMode. |
ShGetGodMode | See ShSetGodMode. |
ShExplosionShield | A sphere explosions ignore. |
ShSetEntityPhysics | Physics bodies on or off for one entity. |
ShAttachEntity | The child follows the parent at an offset. |
ShDetachEntity | See 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