So, I have a Switch that is actually a mid texture in a double sided wall. When player presses "use" at it, it calls a script that, among other things, make the texture of the switch itself desappear using:
Code: Select all
SetLineTexture(230, SIDE_FRONT, TEXTURE_MIDDLE, "-");
Of course, I can call one or more Delay function at the script and keep repeating the command, making it re-desappear. But I wonder if would it be a 'legit' way of doing this. (?)
Thanks in advanced.