This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:object_fields [2018/04/13 05:29] karl [Object Fields] Add link to shared_strings page |
dev:object_fields [2020/11/23 08:34] (current) ryo [anim_suffix] update |
||
---|---|---|---|
Line 391: | Line 391: | ||
Comment: Used to determine combined animations | Comment: Used to determine combined animations | ||
- | Meaning: NEW introduced since ? | + | When a player or a monster attacks or uses a skill, if this suffix is defined on the weapon (combat) or the skill (skill use), the server tries to find an animation named "[player_or_monster_animation]_[anim_suffix]". |
+ | For instance, for a Fenx using an animation "fenx_player" who uses a sword (anim_suffix "sword"), when attacking, the "fenx_player_sword" animation will be used if it exists. | ||
+ | |||
+ | If no suffix is defined or the animation doesn't exist, then nothing happens, else the animation is applied until it finished. | ||
==== title ==== | ==== title ==== | ||
Type: const char * (shared string) | Type: const char * (shared string) |