In your 'Pause' code, shouldn't "function key_down;" be int or bool instead of function?
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 MenuQuotethe player will still walk to the walk-to pint first.
Quote from: Ashen on Fri 22/06/2007 00:15:42
'Any click' interactions aren't triggered by eModeWalkto, AFAIK, unless you've checked the 'Don't automatically move character' option.
QuoteThat means you'll have to add a line to on_mouse_click to handle eModeWalkto, but coupled with not using Walk-to points for exit hotspots it's still probably the easiest way.
else if (button==eMouseWheelSouth) {
if ((player.activeinv==1) && (mouse.Mode==4)) {
if (th==1) {
if (Thou1.Visible==true) {
thought="yourself";
SetInvItemPic(1,145);
}
}
else if (th==2) {
if (Thou2.Visible==true) {
thought="DITR";
SetInvItemPic(1, 270);
}
}
else if (th==3) {
if (Thou3.Visible==true) {
thought="Mr. Hungerton";
SetInvItemPic(1, 145);
}
}
.
.
.
.}
else if (th==5) {
if (Thou6.Visible==true) {
thought="Sydelle";
SetInvItemPic(1, 145);
}
else if ((Thou6.Visible==false) && (Thou7.Visible==true)) {
thought="Nadine";
SetInvItemPic(1, 145);
}
else if ((Thou6.Visible==false) && (Thou7.Visible==false) && (Thou8.Visible==true)) {
thought="Henry";
SetInvItemPic(1, 145);
}
else if ((Thou6.Visible==false) && (Thou7.Visible==false) && (Thou8.Visible==false) && (Thou10.Visible==true)) {
thought="Curtis' favor";
SetInvItemPic(1, 312);
}
else th=0;
}
Quote from: Nikolas on Wed 30/05/2007 14:37:10
Of course, nobody should support anyone for the meer reason that it's AGS (although in the case of Dave, it appears that it's...Dave, so it's ok), but I would expect an insider to be actually more at ease at any potential problems or faults in a game from AGS compaired to a "real commercial".
Quote from: Andail on Tue 29/05/2007 17:56:23
Interestingly, the fact that "outsiders" buy commercial AGS games to a higher degree than AGS-ers is pretty understandable.
AGS-members live in a huge symbiosis where everybody helps eachother, and where one specific creator's training ground is made up by the collection of material he's taken part of (for free); all the art, music, games, tutorials, etc.
Since I don't charge for my work in the critic's lounge (where I've provided feedback ever since the board was created - a progress I was involved in, if I'm not mistaken) I'm not going to pay people money just to support their careers as game-creators.
String thought;
function game_start() {
// called when the game starts, before the first room is loaded
thought="yourself";
Game.GlobalStrings[1]=thought;
if (StrCaseComp("Curtis' favor", Game.GlobalStrings[1])==0) {
// Main header script - this will be included into every script in
// the game (local and global). Do not place functions here; rather,
// place import definitions and #define names here to be used by all
// scripts.
import String thought;
import function GetScale();
String thought;
export thought;
import String thought;
String thought;
function game_start() {
// called when the game starts, before the first room is loaded
thought="yourself";
// script for Hotspot 2 (bookcase): Use inventory on hotspot
if (player.activeinv==1) {
if (StrCaseComp("Curtis' favor", thought)==0) {
player.Walk(122, 280, eBlock);
player.FaceLocation(122, 100, eBlock);
Wait(20);
player.Walk(171, 280, eBlock);
player.FaceLocation(171, 100, eBlock);
Wait(20);
player.Walk(255, 280, eBlock);
player.FaceLocation(255, 100, eBlock);
Wait(20);
Display("You spot a book titled 'Chants of Experience', by William Flake. That looks like something Curtis would enjoy.");
Display("You take it with you.");
AddInventory(17);
GiveScore(6);
Thou10.Visible=false;
}
else Display("That provides no further insight.");
}
else if (player.activeinv==16) Display("That's not the way to return a book.");
else Display("You can't use that here.");
Quote
An internal error has occured. Please note down the following information.
If the problem persists, contact Chris Jones.
(ACI version 2.71.894NMP)
Error: run_text_script1: error -6 running function 'hotspot2_c':
Error: Null string referenced
in Room 66 script (line 50)
if (StrCaseComp("Curtis' favor", thought)==0) {
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.136 seconds with 14 queries.