So I should probably start by saying I have a very limited understanding of JavaScript. I'm currently using this plugin https://arcthunder.blogspot.com/p/tutorial-advanced-lighting.html to achieve a flashlight in the dark effect and so far it works great but I would like to insert my own image for a light.
I first inserted my image in the appropriate folder and tried to call it with the plugin command only to run into the error shown below. Upon investigating further I found I had to actually edit the plugin and so I attempted to do this, it seemed self-explanatory enough.
So after doing this (code shown below) I found I no longer ran into that error upon boot up but the image simply would not display on the screen at all. I initially did not adjust any of the positioning and I realize because of this it may have been a bit funky but considering my image size is 144 x 144 and the default image size is 120 x 191 I can't imagine it would be THAT far off.
I'd just like to know if anyone can point out what I'm doing wrong here... thanks in advance!
I first inserted my image in the appropriate folder and tried to call it with the plugin command only to run into the error shown below. Upon investigating further I found I had to actually edit the plugin and so I attempted to do this, it seemed self-explanatory enough.
So after doing this (code shown below) I found I no longer ran into that error upon boot up but the image simply would not display on the screen at all. I initially did not adjust any of the positioning and I realize because of this it may have been a bit funky but considering my image size is 144 x 144 and the default image size is 120 x 191 I can't imagine it would be THAT far off.
I'd just like to know if anyone can point out what I'm doing wrong here... thanks in advance!