Posted By: jigalypuff
quick question - 08/13/07 20:16
i am working on a recharge code and am useing morrowing as an example, i have the recharge and panels all working ok, and i wrote this bit of code as a small test, what should happen is the charge goes back to 0 and a sound should play, but neither happens, could someone point out were i`ve gone wrong please
Code:
Code:
function beam_weapons
{
if ((mouse_left == 1) && (player.phaser == 70))
{
player.phaser = 0;
snd_play (beam_wav, 50, 0);
}
}