Can you combine images with *if statements?

hello! I’ve been informed by a couple readers that images I’ve attached to only appear in a certain *if statement don’t appear at all despite them having selected the choice that leads to the ‘if statement being true and appearing text wise. only the image won’t work.

my question now is, can you even combine the two? like have a specific image only appear based on a certain choice and if so, how do you do it?

this is a sample of the code I added which doesn’t work (excuse the typo in attack, it’s been fixed):

*if (club_arrival = "panicked")
 *image panic_attak.png
 *goto afterpanicimage

Are you sure that the condition is set correctly?

Check if club_arrival is set to “panicked”. And if it is, make sure you the text in afterpicnicimage is displayed. If that’s the case, then check if the images are in the right folder.

Image | ChoiceScript Wiki | Fandom

2 Likes

ohh I need to add them to a folder? I thought it’s enough to upload them on cogdemos. which folder would they go into since there’s only the mygame one?

edit: I suppose it goes into the mygame folder.

1 Like

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.