Game Development Community

Strange alxplay bug

by Chris Labombard · in Torque Game Engine · 09/28/2005 (5:01 pm) · 2 replies

I am trying to play a voice over using:

alxStop($itemHandle);
	$itemHandle = alxPlay(Voice_Boss);

But it doesnt play.

I am using the following for the opening voice over:

alxStop($itemHandle);
	$itemHandle = alxPlay(Voice_Opening);

and it plays perfectly.

both audio profiles are set up properly.

If I open the console and type:

$itemHandle = alxPlay(Voice_Boss);

it doesnt play either...

However, if I hit UP (to recall the command) and hit it again it plays.

Any ideas ? This has to be in there, otherwise the player will have absolutely no idea how to beat the game

About the author

I have been a professional game programmer for over 5 years now. I've worked on virtually every platform, dozens of games and released a few of my own games, including 2 iPhone titles and a title waiting release on Big Fish Games.


#1
09/28/2005 (5:21 pm)
What happens if you change $itemHandle to $itemHandle1 and 2 ?
But should work anyway , are you sure that the nonplaying file is ok ?
#2
09/29/2005 (3:32 am)
Well, I am using $itemHandle to call voice overs whenever you pick up one of 15 items and it works fine then.

The only time it doesn't work is when you use it there.

I have tried several other handles. I will try a new handle, and without a handle and get back to you.