Sly 1:ZAP: Difference between revisions

Updated enum table
(Added infobox image)
(Updated enum table)
 
(One intermediate revision by the same user not shown)
Line 3:
| size=
}}
'''ZAP''' is a data structure in {{Sly 1}}. It represents an area volume that will cause Sly to take {{Sly 1|damage}} upon entering it.
 
== Fields ==
{{Empty section}}
 
{{Struct top}}
{{Struct field||0x4|ZAPK|zapk|Zap kind}}
{{Struct bottom}}
 
{{Investigate|Need to find and add more fields.}}
{{Clear}}
 
{{Stub}}
== ZAPK ==
 
The kind of damage dealt by the ZAP is determined by the ZAPK (ZAP kind) enum. It controls what animation {{Sly 1|JT}} does upon triggering the ZAP.
 
{{Enum top}}
{{Enum value|Blunt|0x1|Causes knockback}}
{{Enum value|Electric|0x2}}
{{Enum value|Fire|0x3}}
{{Enum value|Water|0x4|Drowning}}
{{Enum value|Crush|0x5}}
{{Enum value|Pit|0x6|Falling}}
{{Enum bottom}}
 
{{Navbox Sly 1}}