Prototype/SimpleEntityWithForce: Difference between revisions
(1.1.51: Prototype/EntityWithOwner added, SimpleEntityWithForce inherits from SimpleEntityWithOwner) |
(Updated styling of prototype doc migration note) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<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/prototypes/SimpleEntityWithForcePrototype.html https://lua-api.factorio.com/latest/prototypes/SimpleEntityWithForcePrototype.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> | |||
{{Prototype parent|Prototype/SimpleEntityWithOwner}} | {{Prototype parent|Prototype/SimpleEntityWithOwner}} | ||
By default, this entity will be a priority target for units/turrets, who will choose to attack it even if it does not block their path. Use [[Prototype/SimpleEntityWithOwner]] for entities that are only attacked when they block enemies. | By default, this entity will be a priority target for units/turrets, who will choose to attack it even if it does not block their path. Use [[Prototype/SimpleEntityWithOwner]] for entities that are only attacked when they block enemies. | ||
{{Prototype TOC|simple-entity-with-force|no-properties=true}} | {{Prototype TOC|simple-entity-with-force|no-properties=true}} |
Latest revision as of 10:43, 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/prototypes/SimpleEntityWithForcePrototype.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/EntityWithHealth » Prototype/EntityWithOwner » Prototype/SimpleEntityWithOwner » Prototype/SimpleEntityWithForce
By default, this entity will be a priority target for units/turrets, who will choose to attack it even if it does not block their path. Use Prototype/SimpleEntityWithOwner for entities that are only attacked when they block enemies.