So here I am trying to make audio profiles for my sounds like so:
datablock AudioDescription(LongRange3d : AudioClose3d)
{
maxDistance = 100;
referenceDistance = 25;
};
Then I implement it into the sounds.cs script like so:
datablock AudioProfile(Scream1)
{
fileName = "./SCREAMS/BF3_US_DEATH_1.wav";
description = LongRange3d; <------ remember this? ^
preload = true;
};
So yea I start my game and my yells wont work, I check the log and it says this:
Object 'LongRange3d' is not a member of the 'AudioDescription' data block class
TBH I don't know what I did wrong, I made a separate SoundDesc.cs that has the audio description inside
And yes I did execute it in the script.cs D:< so guys,
WTF GIVES???? Any idea on how to correct the audio description?