Prototype/Beam: Difference between revisions
Jump to navigation
Jump to search
(Added prototype type to page) |
(0.17) |
||
Line 14: | Line 14: | ||
Damage interval can't be 0. A value of 1 will cause the attack to be applied each tick. | Damage interval can't be 0. A value of 1 will cause the attack to be applied each tick. | ||
=== head === | |||
'''Type''': [[Types/Animation]] | |||
=== tail === | |||
'''Type''': [[Types/Animation]] | |||
=== body === | |||
'''Type''': [[Types/AnimationVariations]] | |||
Must have at least 1 variation. | |||
== Optional properties == | == Optional properties == | ||
Line 26: | Line 37: | ||
'''Type''': [[Types/Animation]] | '''Type''': [[Types/Animation]] | ||
=== | === target_offset === | ||
'''Type''': [[Types/ | '''Type''': [[Types/Vector]] | ||
=== random_target_offset === | |||
'''Type''': [[Types/bool]] | |||
'''Default''': false | |||
=== random_end_animation_rotation === | |||
'''Type''': [[Types/bool]] | |||
'''Default''': true | |||
''' | |||
=== | === transparent_start_end_animations === | ||
'''Type''': [[Types/ | '''Type''': [[Types/bool]] | ||
'''Default''': true |
Revision as of 13:35, 5 March 2019
Basics
Prototype type: beam
Extends Prototype/Entity.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
width
Type: Types/double
damage_interval
Type: Types/uint32
Damage interval can't be 0. A value of 1 will cause the attack to be applied each tick.
head
Type: Types/Animation
tail
Type: Types/Animation
body
Type: Types/AnimationVariations
Must have at least 1 variation.
Optional properties
action
Type: Types/Trigger
start
Type: Types/Animation
ending
Type: Types/Animation
target_offset
Type: Types/Vector
random_target_offset
Type: Types/bool
Default: false
random_end_animation_rotation
Type: Types/bool
Default: true
transparent_start_end_animations
Type: Types/bool
Default: true