>> datablock AudioProfile(doorSlamSnd) // <<--- "> Syntax error, plz advice | Technical Issues | Forums | Community | GarageGames.com

Game Development Community

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

#1
03/31/2007 (12:51 pm)
Datablock AudioProfile(doorStartOpenSwingSnd)
{
fileName = "~/data/sound/door1_move.wav";
description = AudioOpen3d;
preload = true;
} ; // <------
#2
03/31/2007 (4:21 pm)
That solve it, thanks alot