Repository navigation
[Memhack] Board
DasKeifer edited this page Sep 30, 2026
·
2 revisions
The Memhack Board struct represents the game's Board when in a mission
It has the standard memhack base struct functions/fields.
| Field | Type | Offset | Description |
|---|---|---|---|
| podLandingLoc | Point | 0x2D70 | The point a time pod will land if one spawns (set even if no pod spawns) |
These are functions that draw from the data in the struct or set the data in the struct
-
[memhack] PointBoard:getPodLandingLoc()
Returns the Point the pod will land (if one spawns) as a memhack Point object
Example:
local board = Board:GetMemhackObj()
local podLanding = board:getPodLandingLoc()
LOG("Pod landing (memhack Point): " .. tostring(podLanding))-
[Native] PointBoard:getPodLandingAsPoint()
Returns the Point the pod will land (if one spawns) as a native Point object as typically used in the Lua scripts.
Example:
local podLanding = Board:GetMemhackObj():getPodLandingAsPoint()
LOG("If a pod spawns it will land at point " .. tostring(podLanding))-
voidBoard:setPodLandingLoc(pointOrTable)
| Argument name | Type | Description |
|---|---|---|
value |
table or memhack Point or native point | The pod landing location info |
Sets the pods landing location to the passed point so that if it spawns it will land there
Example:
Board:GetMemhackObj():setPodLandingLoc(Point(7,7))
LOG("If a pod spawns it will land in the bottom left corner")