Frictional Games Forum (read-only)

Full Version: Costum Insanity effect
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I failed to find the answer by the search or in "script functions" section. Is there any way I can activate costum insanity effect, not just random one? Slime_steps_run in particular?
I doubt that, but that needs verfication from the devs.
Thanks...
OK, if this is impossible, I have another question: what script does play .snt files, not .ogg?
Because
void PlaySoundAtEntity(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound);

seems only to play .ogg
Only music uses *.ogg directly when you use PlayMusic(bla bla).
Sounds have *.snt files which just contain special settings and the links to the *.ogg files though.
Well, guess I'll have to construct the insanity event manually, using sound scripts at player pos.
Thanks for the answer.