- Joined
- Jun 14, 2015
- Messages
- 85
- Reaction score
- 15
- Primarily Uses
Hi I'm trying to have the sprite change graphics automatically using a script. The instructions are as follows:
"
"
The actor_id for it would be 001. The filename of the sprite graphic would be "spritexb-8028.png". The Index of the sprite graphic is where I am lost. How do I find the index? What does it look like when you type it out?
Also would the sprites below be counted as a single-sprite file or since it has many sprites it also has many indices?
I provided some sprites below as examples. Where the sprite changes "armor" using this script.
Here's a link where I found the script.


"
Code:
# To change sprites:
#
# <ge: actor_id, sprite_name, sprite_index>
#
# actor_id: The ID of the actor to be change graphics.
# sprite_name: The filename of the sprite graphic to be placed.
# sprite_index: The index of the sprite graphic to be placed.
#
# To change face:
#
# <fe: actor_id, face_name, face_index>
#
# actor_id: The ID of the actor to be change face.
# face_name: The filename of the face graphic to be placed.
# face_index: The index of the face graphic to be placed.
#
# Notes:
# * If you use a single-sprite file (files with $ at the
# beginning), you may also add it but the index must be 0.
# * If the notetag is not fit in a single line, shorten the filename or
# use the other method below.
# * You may put many notetags for the different actors at the same
# equipment.
The actor_id for it would be 001. The filename of the sprite graphic would be "spritexb-8028.png". The Index of the sprite graphic is where I am lost. How do I find the index? What does it look like when you type it out?
Also would the sprites below be counted as a single-sprite file or since it has many sprites it also has many indices?
I provided some sprites below as examples. Where the sprite changes "armor" using this script.
Here's a link where I found the script.


Last edited by a moderator:

