Syntax error, plz advice
by Mdk_4_ever Na · in Technical Issues · 03/31/2007 (12:30 pm) · 2 replies
I got syntax error when I try to execute this code:
datablock AudioProfile(doorStartOpenSwingSnd)
{
fileName = "~/data/sound/door1_move.wav";
description = AudioOpen3d;
preload = true;
}
---->>> datablock AudioProfile(doorSlamSnd) // <<--- syntax error here
{
fileName = "~/data/sound/wood_stop1.wav";
description = AudioSlam3d;
preload = true;
}
----------------------------------------------------------------
the error indicated by the arrow , any idea what is the problem ?
thanks
datablock AudioProfile(doorStartOpenSwingSnd)
{
fileName = "~/data/sound/door1_move.wav";
description = AudioOpen3d;
preload = true;
}
---->>> datablock AudioProfile(doorSlamSnd) // <<--- syntax error here
{
fileName = "~/data/sound/wood_stop1.wav";
description = AudioSlam3d;
preload = true;
}
----------------------------------------------------------------
the error indicated by the arrow , any idea what is the problem ?
thanks
Torque 3D Owner Tim Dix (Raverix)
{
fileName = "~/data/sound/door1_move.wav";
description = AudioOpen3d;
preload = true;
} ; // <------