Types/Direction: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "Direction is a Types/uint who's value can be any of the following: *'''North''' - 0 *'''northeast''' - 1 *'''east''' - 2 *'''southeast''' - 3 *'''south''' - 4 *'''southwe...")
 
(Updated styling of prototype doc migration note)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Direction is a [[Types/uint]] who's value can be any of the following:
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/types/Direction.html https://lua-api.factorio.com/latest/types/Direction.html]
 
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
 
 
Direction is a [[Types/uint32]] who's value can be any of the following:


*'''North''' - 0
*'''North''' - 0
*'''northeast''' - 1
*'''Northeast''' - 1
*'''east''' - 2
*'''East''' - 2
*'''southeast''' - 3
*'''Southeast''' - 3
*'''south''' - 4
*'''South''' - 4
*'''southwest''' - 5
*'''Southwest''' - 5
*'''west''' - 6
*'''West''' - 6
*'''nortwest''' - 7
*'''Northwest''' - 7
 
== See also ==
* [https://lua-api.factorio.com/latest/defines.html#defines.direction defines.direction]

Latest revision as of 10:42, 21 September 2023

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/Direction.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.


Direction is a Types/uint32 who's value can be any of the following:

  • North - 0
  • Northeast - 1
  • East - 2
  • Southeast - 3
  • South - 4
  • Southwest - 5
  • West - 6
  • Northwest - 7

See also