Funny error
by Tasty Green Pees :-, · in Torque Game Engine · 02/19/2006 (2:09 pm) · 3 replies
Can anyone explain why i get this error:
thanks
Object 'AudioClosest3d' is not a member of the 'AudioDescription' data block class
thanks
About the author
#2
Which suggests to me that created the AudioDescription right in the player.cs file which implements it. Therefore they are executed in the same script.
*scratching my head*
02/20/2006 (10:23 am)
Chris, I'm using it in my player.cs file:datablock AudioProfile(FootLightSoftSound)
{
filename = "~/data/sound/footfall.wav";
description = AudioClosest3d;
preload = true;
};
...
// Footstep Sounds
FootSoftSound = FootLightSoftSound;Which suggests to me that created the AudioDescription right in the player.cs file which implements it. Therefore they are executed in the same script.
*scratching my head*
#3
Don't assume anything... Search for it and figure out where it's being created.
The error's telling you that AudioClosest3D doesn't exist
02/20/2006 (10:26 am)
No. Chances are the AudioClosest3D was created somewhere in the common folder. Don't assume anything... Search for it and figure out where it's being created.
The error's telling you that AudioClosest3D doesn't exist
Torque Owner Chris Labombard
Premium Preferred
And if you did, did you exec the script that contains it?