Game (functions)/Direction/Table

From PMDOWiki
Revision as of 00:20, 18 January 2026 by Imbion (talk | contribs) (Created page with "{| class="wikitable" |- ! Function !! Description |- |VectorToDirection |Convenience function to get a vector's components from lua numbers. May take either a single integer or a vector in an X and Y value. |- |RandomDirection |Generates a random direction. Returns an 8-directional direction. |- |}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Function Description
VectorToDirection Convenience function to get a vector's components from lua numbers. May take either a single integer or a vector in an X and Y value.
RandomDirection Generates a random direction. Returns an 8-directional direction.