Prototype/SimpleEntityWithForce: Difference between revisions
Slippycheeze (talk | contribs) No edit summary |
m (whitespace) |
||
Line 7: | Line 7: | ||
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. | 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. | ||
== Optional properties == | == Optional properties == |
Revision as of 16:55, 4 August 2019
Basics
Prototype type: simple-entity-with-force
Extends Prototype/EntityWithHealth.
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.
Optional properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
render_layer
Type: Types/RenderLayer
Default: "object"
force_visibility
Type: Types/ForceCondition
Default: "all"
random_animation_offset
Type: Types/bool
Default: false
pictures
Type: Types/SpriteVariations
Must have one of 'picture', 'pictures' or 'animations' defined.
picture
Type: Types/Sprite
Must have one of 'picture', 'pictures' or 'animations' defined.
animations
Type: Types/AnimationVariations
Must have one of 'picture', 'pictures' or 'animations' defined.