Skip to content

[Memhack] Board Functions

DasKeifer edited this page Sep 30, 2026 · 2 revisions

Added Board Functions

This page describes functions added to the Board class by memhack.

Table of Contents

GetMemhackObj

  • Board Board:GetMemhackObj()

Returns a memhack Board struct for the Board object. This provides access to board level memory (e.g. pod landing location). Generally not needed outside of the Board functions implemented here.

Example:

local board = Board:GetMemhackObj()

GetPodLandingPoint

  • Point Board:GetPodLandingPoint()

Returns the Point the pod will land (if one spawns)

Example:

local podLanding = Board:GetPodLandingPoint()
LOG("If a pod spawns it will land at point " .. tostring(podLanding))

SetPodLandingPoint

  • void Board:SetPodLandingPoint(point)
Argument name Type Description
point Point Native Point userdata for where a pod should land if one spawns

Sets the pod landing location so that if a pod spawns it will land there. Internally calls Board:GetMemhackObj():setPodLandingLoc(point).

Example:

Board:SetPodLandingPoint(Point(7,7))
LOG("If a pod spawns it will land in the bottom left corner")

Clone this wiki locally