Have you ever wondered if there was a way you could have a portable flashlight without holding E the whole time? well i’ll show you!
1:Making it!
Next we need to add a spotlight to y’know make light.
on the top of the player connector theres an arrow now make sure you place the light on the side that the arrow is pointing to.
and then scale it down to about 50%
After that Press E on the light then set the intensity to max
Same with range
And angle
Now add a controller
and then scale it down
2:Coding it!
Your gonna drag and drop the player connector and the spotlight to the workspace.
Now connect the connected from the player connector to the On for the spotlight. Then do the same for disconnect and Off.
3:Using it!
Thanks to smacdonald for his excellent guide, all credits belong to his effort. if this guide helps you, please support and rate it via Steam Community. enjoy the game.