Game (functions)/Direction: Revision history

From PMDOWiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

18 January 2026

17 January 2026

  • curprev 21:0921:09, 17 January 2026 Imbion talk contribs 796 bytes +796 Created page with "== GAME:VectorToDirection(RogueElements.Loc) == Turns a vector (preferably a unit vector) into a cardinal or diagonal direction. === Arguments === * <code>v</code>: The vector. === Returns === The direction as one of 8 values. == GAME:VectorToDirection(System.Double,System.Double) == Convenience function to get a vector's components from lua numbers(doubles) === Arguments === * <code>X</code>: The X value of the vector * <code>Y</code>: The Y value of the ve..."