Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Random sounds
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Random sounds

Ah, right, didn't see that recall you had. Yes it should loop. Maybe...

Remember that the parameters of AddTimer uses a float, not an int. So use RandFloat instead. Also, try adding 'f' behind your 0.0 values, so that they look like 0.0f. This is a best practise for floats.

But your timer only loops every 10 to 20 seconds.

05-21-2016, 12:38 AM
Find


Messages In This Thread
Random sounds - by serbusfish - 05-20-2016, 09:26 AM
RE: Random sounds - by Mudbill - 05-20-2016, 09:44 AM
RE: Random sounds - by serbusfish - 05-20-2016, 10:04 AM
RE: Random sounds - by Mudbill - 05-21-2016, 12:38 AM
RE: Random sounds - by Daemian - 05-21-2016, 01:24 AM



Users browsing this thread: 1 Guest(s)