MashPotato: Do any of these solutions work?: http://www.drexplain.com/press/chm-files-the-page-cannot-be-displayed-error/
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: SSH on Sun 28/05/2006 22:29:54
No I don't...
Quote from: Pumaman on Sun 18/12/2005 13:04:22
AGS v2.71:
* Renamed the setup.exe in the AGS distribution to setup.dat to prevent unzip programs from trying to "install" it.
// dialog script
@1 // dialog option 1
player: Yo!
run-script 3 // runs dialog_request function and passes 3 as parameter value
stop
// global script
function dialog_request(int flubber) { // it really doesn't matter what you call the variable
if (flubber == 1) { // if "run-script 1" called
// do this
}
else if (flubber == 2) { // if "run-script 2" called
// do that
}
else if (flubber == 3) { // if "run-script 3" called
Display("Blah!");
}
// and so on
}
cEgo.Say(Game.GlobalMessages[500]);
Quote from: Pumaman on Mon 02/05/2005 13:38:52Quote from: strazer on Sat 30/04/2005 02:41:41When an inventory item with an alpha-channelled sprite is active, the cursor hotspot dot isn't drawn. Instead, there's a hole in the cursor graphic where the hotspot dot/sprite should be.
Thanks for pointing that out. I'll fix the hotspot dot side of things, but for the hotspot sprite you'll need to use an alpha-channeled hotspot sprite in order to get it to work.
File *thefile = File.Open("agssave.001", eFileRead);
if (thefile == null) {
Display("Error opening file."); // i.e. file probably doesn't exist
}
else {
// do stuff
thefile.Close();
}
Quote from: AGS Manual
WARNING: When using the float data type, you may find that the == and != operators don't seem to work properly. For example:
float result = 2.0 * 3.0;
if (result == 6.0) {
Display("Result is 6!");
}
may not always work. This is due to the nature of floating point variables, and the solution is to code like this:
float result = 2.0 * 3.0;
if ((result > 5.99) && (result < 6.01)) {
Display("Result is 6!");
}
The way floating point numbers are stored means that 6 might actually be stored as 6.000001 or 5.999999; this is a common gotcha to all programming languages so just be aware of it if you use any floating point arithmetic.
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.123 seconds with 15 queries.