Hi,
If you've seen my other coding post then you may know what this is all about. I'm trying to print to a text file whenever the HeavyBreathing sound starts playing, I believe I found the right variable, if thats the right terminology. Here's the code I was trying to implement, though as far as I can see the compiler doesn't like the "()" part though without it, it doesn't like any of the statement.
Any ideas on why its not working?
If you've seen my other coding post then you may know what this is all about. I'm trying to print to a text file whenever the HeavyBreathing sound starts playing, I believe I found the right variable, if thats the right terminology. Here's the code I was trying to implement, though as far as I can see the compiler doesn't like the "()" part though without it, it doesn't like any of the statement.
Code:
if( MyPawn.HeavyBreathingSound.IsPlaying() )
{
self.writer.Logf("Heavy Breathing:" $TimeStamp());
}
Any ideas on why its not working?