The script below changes the texture to alternate texture if activated by anything such as a switch and then back to first texture upon deactivation
It is a main script that will have no function but to initiate a texture change, also useful for non functional devices such as computer monitor and signs changing upon trigger or switch
Whenever your using triggers such as spawning, switches, remote doors, use the script on the item you want only to change textures and set the texture and alt texture naming same name as If Used name or Trigger name
You can optionally just have a switch, button, etc... only to control texture change, it's your game...
========================================
;Artificial Intelligence Script
;Header
desc = Simple Texture switch based on activation in If Used
;Triggers
:state=0,activated=1:state=1,alttexture=1
:state=0,activated=0:state=1,alttexture=0
:state=1:state=0
;End of Script
=====================================
File is attatched
---------------------------------------
Advanced Licensed Computer Programmer and Custom Programming Language Interfacing. Graphics / Video Designer.