Hello, I would like to request help with the eCDEject command.
what command do I have to use to have it work.
this is how I am using it right now:
function cEgo_Look()
{
Display ("I AM THE RULER OF ALL!");
eCDEject();
}
(this code is for testing purposes and will be in a better context later)
whenever I try to run the game it gives me a parse error.
Thanks.
You are nearly there: eCDEject is actually a value you have to use with the CDAudio function. Something like this:
CDAudio(eCDEject, 0);
This kind of value is called an enumeration and is used throughout AGS and can be seen as a setting for function you are using. They all start with a lower case 'e'.
I hope this helps you with whatever sinister plot you are planning. ;) This is not going to affect me however; I don't have a CD-player in my computer. :-D
Thanks for the help.