TGC Codebase Backup



Switch Decal by Swhale aka The FPS Creator

10th Sep 2005 13:50
Summary

Apply to a decal to enable switching on and off.



Description



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    ;Artificial Intelligence Script

;Header

desc          = A controllable decal

;Triggers

:state=0:state=1
:state=1,activated=1:state=2,rundecal=2
:state=2,activated=0:state=1,rundecal=-1



;End of Script