Sly 1:ZAP: Difference between revisions
Updated enum table
TheOnlyZac (talk | contribs) (Created struct strub) |
TheOnlyZac (talk | contribs) (Updated enum table) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1:
{{Infobox data structure
| image= File:Sly1May bramble zap geom.png
| 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 ==
{{
{{Struct field||0x4|ZAPK|zapk|Zap kind}}
{{Struct bottom}}
{{Investigate|Need to find and add more fields.}}
== 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}}
|