hello,
i want to play sounds randomly through a whole map. i wanted to work with a loop, that adds a timer al over again and it always has a different time. and i tried to work with RandFloat to set a random time. i tried it like this at first.
float p = RandFloat(1.0f, 50.0f);
void OnStart()
{
for(int i=1;i<100;i++);
{
AddTimer("", p, "");
}
}
so i guess there are a lot of mistakes in it and it will never work as i want it. so im asking for somehelp from you guys, how i could do it.
what exactly do i want to do: when the player enters the map, some sounds i´ve chosen before are randomly played. the time between the sounds should also vary.