activate EOP_<spritename>*? is that exactly what to name the special function?besides the text "spritename" replaced with the one you need. are the arrows and astrik required in the name of the function. is this what the name of the function should look like...
EOP_<save1>*
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
not quite. Read the help file in SGDK for the answer to this question. From the help file:
Activate EOP_<SpriteName>*: Allows you to activate special functions when the sprite reaches the end of its path. When the sprite reaches the end, all functions on the sprite's layer are searched and any function whose name matches the pattern is triggered. The pattern always begins with "EOP_". This is followed by the name of the sprite definition and then any text you want. For instance, if you have a sprite definition "Bomb1" that refers to template "Bomb", you may want to set the Bomb template to activate special function EOP_<SpriteName>* at the end of the path. Then you would need to create a special function called (for instance) EOP_Bomb1Explode if you want a function that matches the pattern. Note: EOP_BombExplode would not match the pattern because the name of the sprite definition is Bomb1. The pattern does not use the template name, but the sprite definition name.
End excerpt
So the pattern is EOP_ followed by the name of the sprite, followed by anything else if you want (you don't have to put anything there if you don't want to) so you can activate more than one sprite at a time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
activate EOP_<spritename>*? is that exactly what to name the special function?besides the text "spritename" replaced with the one you need. are the arrows and astrik required in the name of the function. is this what the name of the function should look like...
EOP_<save1>*
not quite. Read the help file in SGDK for the answer to this question. From the help file:
Activate EOP_<SpriteName>*: Allows you to activate special functions when the sprite reaches the end of its path. When the sprite reaches the end, all functions on the sprite's layer are searched and any function whose name matches the pattern is triggered. The pattern always begins with "EOP_". This is followed by the name of the sprite definition and then any text you want. For instance, if you have a sprite definition "Bomb1" that refers to template "Bomb", you may want to set the Bomb template to activate special function EOP_<SpriteName>* at the end of the path. Then you would need to create a special function called (for instance) EOP_Bomb1Explode if you want a function that matches the pattern. Note: EOP_BombExplode would not match the pattern because the name of the sprite definition is Bomb1. The pattern does not use the template name, but the sprite definition name.
End excerpt
So the pattern is EOP_ followed by the name of the sprite, followed by anything else if you want (you don't have to put anything there if you don't want to) so you can activate more than one sprite at a time.