- Joined
- Sep 12, 2016
- Messages
- 44
- Reaction score
- 37
- First Language
- English
- Primarily Uses
HI
Im really, really new at javascript and cannot find this answer anywhere
I wanted to make an on screen avatar but didn't want a billion unfoldered images
I found a concept and tried to make the below plugin on the left which works
but only for a text file path 
I'd like the file path to be derived from game variables, even if its just the picture number but it just wont have it

Right now - ImageSwitcher(Picture[ID], "TEXT/TEXT/TEXT"); - works fine
But id like to - ImageSwitcher(Picture[ID], "TEXT/TEXT/"$gameVariables.Value[1]); - But it wont return the image
Is anyone able to see where im going wrong??
Ideally end state would be ActorName/Text/variable1 but id just settle if anyone can tell me where im meesing up just on the first step
Many thanks to anyone able to help me
Im really, really new at javascript and cannot find this answer anywhere
I wanted to make an on screen avatar but didn't want a billion unfoldered images
I found a concept and tried to make the below plugin on the left which works
I'd like the file path to be derived from game variables, even if its just the picture number but it just wont have it

Right now - ImageSwitcher(Picture[ID], "TEXT/TEXT/TEXT"); - works fine
But id like to - ImageSwitcher(Picture[ID], "TEXT/TEXT/"$gameVariables.Value[1]); - But it wont return the image
Is anyone able to see where im going wrong??
Ideally end state would be ActorName/Text/variable1 but id just settle if anyone can tell me where im meesing up just on the first step
Many thanks to anyone able to help me
Last edited:



