• Parameters

    • id: Player<PlayerEventMap>

      The owner of the unit.

    • unitid: number

      The rawcode of the unit.

    • whichLocation: Location

      The position of the unit.

    • face: number

      Unit facing in degrees.

    Returns Unit

Generated using TypeDoc