You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class RainGen expands Effects;
var(Rain_Sounds) nowarn int SoundRadius;
var(Rain_Sounds) int RainVolume;
//set all our variables.
simulated function PreBeginPlay()
{
(...)
PlaySound(EffectSound1, Slot_Ambient, RainVolume,,SoundRadius);
}
The command is not executed.
Sounds cannot be emitted from the PreBeginPlay function.
For this reason, variables RainVolume and nowarn int SoundRadius are not used.
I think you should remove this line and mark both variables as unused.
The text was updated successfully, but these errors were encountered:
The command is not executed.
Sounds cannot be emitted from the PreBeginPlay function.
For this reason, variables RainVolume and nowarn int SoundRadius are not used.
I think you should remove this line and mark both variables as unused.
The text was updated successfully, but these errors were encountered: