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 04:11] karl Point to new files _living and _key_value |
dev:object_fields [2020/11/23 08:34] ryo [anim_suffix] update |
||
---|---|---|---|
Line 4: | Line 4: | ||
The struct [[object_fields_living|living]] and struct [[object_fields_key_value|key_value]] have their own pages. \\ | The struct [[object_fields_living|living]] and struct [[object_fields_key_value|key_value]] have their own pages. \\ | ||
+ | The term [[Shared Strings]] has it's own page, too. \\ | ||
See also page [[Objects]] . | See also page [[Objects]] . | ||
Line 390: | 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) |