Firstly, how do you play a sound in a cog for a various time.
I put playsound(sound_local);
and nothing happens.
But more importantly , how do I change a surface flag in a cog? I asked in commandchamber but they have no forums right now. eg, change a surface from passable and invisible to impassaible and visible?
Its probably real easy
I put playsound(sound_local);
and nothing happens.
But more importantly , how do I change a surface flag in a cog? I asked in commandchamber but they have no forums right now. eg, change a surface from passable and invisible to impassaible and visible?
Its probably real easy
Code:
if(getThingFlags(source) & 0x8){ do her} elseif(getThingFlags(source) & 0x4){ do other babe} else{ do a dude}