Structure proxy (self.InWorldStructure)¶
Bound on script tables as self.InWorldStructure. Only these public members are reachable; unknown names fail closed.
Source: Signs of Life/Utils/Lua/LuaStructureApi.cs.
Properties¶
| Name | Type / signature | Notes |
|---|---|---|
CursorOverrideType |
String CursorOverrideType |
|
GlobalCenter |
Vector2 GlobalCenter |
|
HasCursorOverride |
Boolean HasCursorOverride |
|
Height |
int Height |
|
ReceivesMeleeCollisions |
Boolean ReceivesMeleeCollisions |
|
State |
String State |
|
Width |
int Width |
Methods¶
| Signature | Notes |
|---|---|
void AddBoneTextureOverride(String boneName, String spriteName) |
|
void ApplyCharMap(String charMapName) |
|
Vector2 GetBonePosition(String boneName, float textureOffsetX, float textureOffsetY) |
|
Boolean IsAtPoint(Vector2 globalPoint) |
|
void Kill() |
|
void LoadSoundEffect(String label, String path) |
|
void PlayParticleEffectDuration(String particleEffectPath, Vector2 emitPosition, float durationMS) |
|
void PlayParticleEffectOnce(String particleEffectPath, Vector2 emitPosition) |
|
void PlaySoundEffect(String label, float volume = 1, float pitch = 0, float distanceFalloff = 1500) |
|
void RegisterLight(String label, float locX, float locY, float range, Boolean simple) |
|
void RegisterLight(String label, Vector2 location, float pixelRange, Boolean simple) |
|
void SetDrawBounds(int x, int y, int width, int height) |
|
void SetPrintingDrawBounds(int x, int y, int width, int height) |
|
void SetStateFromLua(String state) |
|
void SetTileData(int additionalIndex) |
|
void ShakeScreen(float magnitude, float duration, float distanceFalloff) |
|
void StartAnimation(String animationName) |
|
void TransitionToAnimation(String animationName, float transitionTime) |
|
void UnRegisterLight(String label) |
Generated 2026-08-02T05:22:21.4279488Z · a7346a83 · 26 members.