Prototype/Arrow
Jump to navigation
Jump to search
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/prototypes/ArrowPrototype.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.
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/Arrow
The arrows used for example in the campaign, they are literally just arrows.
Mandatory properties
arrow_picture
Type: Sprite
Optional properties
circle_picture
Type: Sprite
blinking
Type: bool
Default: false
Example
{
type = "arrow",
name = "orange-arrow-with-circle",
flags = {"placeable-off-grid", "not-on-map"},
blinking = true,
arrow_picture =
{
filename = "__core__/graphics/arrows/gui-arrow-medium.png",
priority = "low",
width = 58,
height = 62
},
circle_picture =
{
filename = "__core__/graphics/arrows/gui-arrow-circle.png",
priority = "low",
width = 50,
height = 50
}
},