Player:mem

From Moondust Wiki
Revision as of 00:17, 29 November 2015 by Sambo (talk | contribs) (Moved functions into a table, provided link to Player Offsets page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Functions

Player:mem(int offset, int fieldtype) Returns the players attribute at offset, of the size fieldtype
Player:mem(int offset, int fieldtype, object value) Sets the players attribute at offset, of the size fieldtype, to value

A list of player memory offsets can be found on the following page:

SMBX Player Offsets