How do I know which index is on the sprite file?

Hi I'm trying to have the sprite change graphics automatically using a script.  The instructions are as follows:


"

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. 





spritexb-8028.png


spritexb-1646.png
For which maker are you trying to use the script?


You posted in RMXP, your name and your profile indicate XP as well -  but the script you're trying to use is an Ace script, that can't work in RMXP
The index is the number of the charset (starting at 0) when using spritesheets with 8 charsets.


Actor1 - Cópia.png


Obviously, this is something that is not relevant on RMXP, as it don't use those types of charsets.
For which maker are you trying to use the script?


You posted in RMXP, your name and your profile indicate XP as well -  but the script you're trying to use is an Ace script, that can't work in RMXP

Oh I suppose I just figured it would still work.  In that case is there one that WOULD work for RMXP?
Perhaps, but I never used RMXP - make a topic in the RGSS script request for RMXP with a detailed description of what you want the script to do, and someone might find one for you.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-know-which-index-is-on-the-sprite-file.57868/