as i dont have my fantastic cog wrieing programs like Parsec Cogpad and cogwriter and datamaster with me i can write the cog for you for a couple of days (i can when i get home then if you want!).
(all of whitch i think you should download. you can get cog writer at massassi and the cogpad topic on this forum has a link to cogpad... i dont have a link to Sabermasters site for datamaster..
now ill tell you step by step about the cog you want to write.. i'll try to make it simple but i may elaborate not as mutch as i'd like on some thigs
when a switch is hit
in the symbols section add a message. a message is something like when something is activated, killed damaged or stood on or in. In this case a "activated" message. also in the code section add a " Activated: ", that is the area that will be used when its activated. and done forget the " return; " after it on the next lineso you get something like this
(1) start a key for a specific 3do in a level
to do this you need to "define" the key(frame) in the symbols section and the 3do, so jedi knight knows what it is. then we are going to "playkey" the key.. so you get something like this
(2) Play a sound attachted to a 3do
first as before define the sound, then we paly it, but as its on a thing we will playsoundthing, playsoundlocal playes the sound on the player (best for SP and certain MP things) BUT playsoundglobal will play the sound on all computors i a MP game. so we get this..
I am Darth PJB!
well, go on, run away!
i have a plastic lightsaber and a jedi cape.. am i a nerd?
If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?