pegasus1820 Posted September 26, 2005 Share Posted September 26, 2005 Yoi need a script that will make it so that is u press a lever or butten that will make a force field apper and disaper everythime u press it. can anyone help me out i cant script :*( pegasus Link to comment Share on other sites More sharing options...
Wookiee Posted September 28, 2005 Share Posted September 28, 2005 ok get scripting for dummies first then make a unique static with its own name that shall be the force field then make an activator that will be the (switch) you will need a state case detecting weather or not the field is on but this can be stored easaly in the loacal script if you start the game in default position for it now begin psudo_script short state if (state < 1) set state to 1 endif if (onactivate == 1) if (state == 2) set state to 1 disable 'forcefield_ID' elseif (state == 1) set state to 2 enable 'forcefield_ID' endif endif end check the syntax it has been a long time for me since scripting atatch said script to the activator replace 'forcefield_ID' with your forcefield ID have fun Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.