(05-04-2011, 05:44 PM)Roenlond Wrote: void FunctionName(string &in asParent, string &in asChild, int alstate)
{
CreateParticleSystemAtEntity("InternalName", "ps_particlefile.ps", "Where to spawn, either at a real entity or just create a script area for it", true);
}
Only way I know to set the volume of a file is via playmusic. You could try to use:
FadeGlobalSoundVolume(float afDestVolume, float afTime);
for the duration of the sound effect, and then fade back to normal - that would increase the volume of all sounds and music, though.
Thank you! =D I am going to test this now =)