Frictional Games Forum (read-only)
[SCRIPT] Random Looped Sound - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Random Looped Sound (/thread-25751.html)

Pages: 1 2


RE: Random Looped Sound - Plazmater - 07-25-2014

(07-25-2014, 07:28 PM)i3670 Wrote: try

float fTime = RandFloat(5.0f, 7.0f);

Also, don't forget to add the timer in the OnStart or else it won't trigger.

It works. Thanks!