Types/ProjectileAttackParameters: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Removed old prototype docs)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Extends [[Types/BaseAttackParameters]].
<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/ProjectileAttackParameters.html https://lua-api.factorio.com/latest/types/ProjectileAttackParameters.html]


== Optional properties ==
</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>
Inherits all properties from [[Types/BaseAttackParameters]].
 
=== projectile_center ===
'''Type''': [[Types/vector]]
 
'''Default''': {0, 0}
 
=== projectile_creation_distance ===
'''Type''': [[Types/float]]
 
'''Default''': 0
 
=== shell_particle ===
'''Type''': [[Types/CircularParticleCreationSpecification]]
 
=== projectile_creation_parameters ===
'''Type''': [[Types/table]] (array) of [[Types/table]]s (arrays)
 
Each array inside the main array has to have 2 members. The first member of each array is a [[Types/RealOrientation]] and the second member is a [[Types/vector]].

Latest revision as of 14:32, 25 October 2024

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/ProjectileAttackParameters.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.