Function is not that necessary, it's kinda quality of life.Needed help about sandbox scripting)
I tried to do some scripting events but I still do don't get it how function/work, is there any more detail tutorial about it?
(and yes i have checked showcase map in sandbox map but i still quite don't get how's pull out or work)
It works like that: for example you made multiple light sources in the room and named them with different receivers and you have 2 switches you want all the lights to be turned on by. To not type in all the lights receivers into each switch you can instead make a function with all the lights recievers in it's dispatcher and then you make switches to activate function instead of all the lights one by one.