I was trying to translate the game.
I did check script (Lint) while doing that.
game / Script1 / Script1.rpy: 25 The image tag 'all' is not the prefix of a declared image, nor was it used in a show statement before this hide statement.
There are several such strings.
I am embarrassed when I try to open the file ' game/tl/Korean/Script1/Script1.rpy ', but I do not have the string Script1.rpy:25. What's wrong with this?
* The name of the script1.rpy file is an example!
There seems to be a problem with the image tag prefix
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Newbie
- Posts: 7
- Joined: Sun Jan 21, 2018 6:39 am
- Contact:
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: There seems to be a problem with the image tag prefix
That error message is clearly telling you there's a problematic hide statement in that script around the line 25.
You can read the hide statement documentation here: https://www.renpy.org/doc/html/displayi ... -statement
That statement is used to remove an image from a layer, but apparently, it's being used to try to hide a non-declared image whose name starts with "all ". It's trying to interpret the word "all " as a name tag. You can read about image name tags here: https://www.renpy.org/doc/html/displayi ... html#image
You should have that error if, for example, you have something like this in your script
Maybe that line was originally commented out?
You can read the hide statement documentation here: https://www.renpy.org/doc/html/displayi ... -statement
That statement is used to remove an image from a layer, but apparently, it's being used to try to hide a non-declared image whose name starts with "all ". It's trying to interpret the word "all " as a name tag. You can read about image name tags here: https://www.renpy.org/doc/html/displayi ... html#image
You should have that error if, for example, you have something like this in your script
Code: Select all
hide all images
Code: Select all
# hide all images
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
-
- Newbie
- Posts: 7
- Joined: Sun Jan 21, 2018 6:39 am
- Contact:
Re: There seems to be a problem with the image tag prefix
Donmai wrote: ↑Thu Feb 01, 2018 8:13 am That error message is clearly telling you there's a problematic hide statement in that script around the line 25.
You can read the hide statement documentation here: https://www.renpy.org/doc/html/displayi ... -statement
That statement is used to remove an image from a layer, but apparently, it's being used to try to hide a non-declared image whose name starts with "all ". It's trying to interpret the word "all " as a name tag. You can read about image name tags here: https://www.renpy.org/doc/html/displayi ... html#image
You should have that error if, for example, you have something like this in your scriptMaybe that line was originally commented out?Code: Select all
hide all images
Code: Select all
# hide all images
Code: Select all
hide all
Should I comment out this statement?
-
- Newbie
- Posts: 7
- Joined: Sun Jan 21, 2018 6:39 am
- Contact:
Re: There seems to be a problem with the image tag prefix
It wasDonmai wrote: ↑Thu Feb 01, 2018 8:13 am That error message is clearly telling you there's a problematic hide statement in that script around the line 25.
You can read the hide statement documentation here: https://www.renpy.org/doc/html/displayi ... -statement
That statement is used to remove an image from a layer, but apparently, it's being used to try to hide a non-declared image whose name starts with "all ". It's trying to interpret the word "all " as a name tag. You can read about image name tags here: https://www.renpy.org/doc/html/displayi ... html#image
You should have that error if, for example, you have something like this in your scriptMaybe that line was originally commented out?Code: Select all
hide all images
Code: Select all
# hide all images
Code: Select all
hide all
Code: Select all
# hide all images
I did not know this simple! Your answer has been resolved
Who is online
Users browsing this forum: Ahrefs [Bot]