The Daily Click ::. Forums ::. Klik Coding Help ::. random output shooting sound like CZ ?
 

Post Reply  Post Oekaki 
 

Posted By Message

BeanKing



Registered
  28/04/2004
Points
  180
15th July, 2004 at 07:26:47 -

how to make the sound outputrandomly like cz , i hv fire1 sound and fire2 sound , how to code it plz

 
n/a

Scott Handelman



Registered
  19/05/2004
Points
  117
15th July, 2004 at 07:43:02 -

User pushes (whatever key you shoot with) --> Set Alterable Value (of what is shooting) X to random(2)

Alterable Value X = 0 --> Set Alterable Value X to 2, Play fire1 sound.
Alterable Value X = 1 --> Set Alterable Value X to 2, Play fire2 sound.

 
n/a

BeanKing



Registered
  28/04/2004
Points
  180
15th July, 2004 at 08:04:31 -

wt s random 2?

 
n/a

BeanKing



Registered
  28/04/2004
Points
  180
15th July, 2004 at 10:52:21 -

o thx i got it~

 
n/a
   

Post Reply



 



Advertisement

Worth A Click