How i can reload script area when i die ? And how to create loopable sounds ? - 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: How i can reload script area when i die ? And how to create loopable sounds ? (/thread-17389.html) Pages:
1
2
|
RE: How i can reload script area when i die ? And how to create loopable sounds ? - Adny - 08-01-2012 (08-01-2012, 12:25 AM)rakakak11 Wrote: This is what im looking for !!!RandInt(1, 3) will create a Random Integer (whole number, not a decimal) between the amounts provided. When the function is called, it would produce either 1, 2, or 3. Same idea with the timer, it will make a random number from 30 to 60. In my opinion, using Random Integers is ideal for random ambient sounds. I sorta contradicted what I said earlier though; scare_male_terrified1/2/3 are .ogg, not .snt, so they wouldn't work. Just using the scare_male_terrified alone would randomly pick from the set. RE: How i can reload script area when i die ? And how to create loopable sounds ? - rakakak11 - 08-01-2012 (08-01-2012, 12:36 AM)andyrockin123 Wrote:thanks(08-01-2012, 12:25 AM)rakakak11 Wrote: This is what im looking for !!!RandInt(1, 3) will create a Random Integer (whole number, not a decimal) between the amounts provided. When the function is called, it would produce either 1, 2, or 3. Same idea with the timer, it will make a random number from 30 to 60. In my opinion, using Random Integers is ideal for random ambient sounds. |