Difference between revisions of "FF7/WorldMap Module/Script/Opcodes/34d"
< FF7 | WorldMap Module | Script | Opcodes
Jump to navigation
Jump to search
m |
|||
| Line 1: | Line 1: | ||
* Opcode: '''0x34d''' | * Opcode: '''0x34d''' | ||
| − | * Name: | + | * Name: start repeating 2d animation |
* Two-word opcode: No | * Two-word opcode: No | ||
| Line 15: | Line 15: | ||
|- | |- | ||
| Stack | | Stack | ||
| − | | Animation ID | + | | Animation ID |
| − | | | + | | See the list of possible animations on the [[FF7/WorldMap_Module/Script/Opcodes/34a|opcode 34a]] page. |
|- | |- | ||
| Stack | | Stack | ||
| − | | | + | | Repeat interval |
| − | | | + | | How many frames between the animation repeats |
|} | |} | ||
==== Notes ==== | ==== Notes ==== | ||
| + | |||
| + | The animation will be positioned relative to the current active entity. | ||
| + | |||
| + | When an animation is started the engine will render a new instance of the animation using the Repeat interval. For example Repeat interval of 5 means that every 5 frames a new instance of the animation will be drawn. This is used to create effects like smoke or dust particles coming out of the current model. | ||
Latest revision as of 13:02, 17 January 2025
- Opcode: 0x34d
- Name: start repeating 2d animation
- Two-word opcode: No
Parameters
| Location | Name | Description |
|---|---|---|
| Stack | Layer ID | Which layer this animation will belong to |
| Stack | Animation ID | See the list of possible animations on the opcode 34a page. |
| Stack | Repeat interval | How many frames between the animation repeats |
Notes
The animation will be positioned relative to the current active entity.
When an animation is started the engine will render a new instance of the animation using the Repeat interval. For example Repeat interval of 5 means that every 5 frames a new instance of the animation will be drawn. This is used to create effects like smoke or dust particles coming out of the current model.