Menu

Show posts

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 Menu

Topics - BockerAlex

#1
I was wondering if it was possible for an item (in this case a sign) to be interacted with, so that the display text function will tell the user that they have done something to change it, thus either deleting said item, and putting a different item in their inventory.

So basically; the guy walks up to a sign, the user tells him to interact with the sign, bending off the bars, so that he will only have the sign in his backpack.

I looked through the script dropdown menu thing, but can't find anything that says delete, or remove or anything.
Is there any other function that could do that?

Thanks.
#2
Well, I've encounter another problem, and as far as I can see, I'm doing it the exact same way the tutorial says, but it still wont work.

Anyway, I get an error when I try and interact (that is, look, talk to, use, pick up etc) with any of the hotspots.

The code I used for one of them is:

function hSand_Look()
{
  Display("Yellow sand. Nice and warm from the sun.");
  }

When I run the game, and try and look at the sand (hSand is the hotspot name), I get this message:

An error has occured...in "room1.asc", line 8
Error: Invalid GUI specified as text window.

EDIT: Oh, wait, do you have to create a GUI to be able for the game to recognise that you're switching what action you want the character to do? Because right now, the curser changes whenever the left mouse button/scroll wheel is used, and as all cursors have what action it is intending to do on it (i.e. the walk to cursor has the words 'walk to...' on it) I assumed that would work...
#3
I recently got an error trying to run a game that I am making (to see if I had managed to fix a previous problem).

Upon pressing run, the window popped up, and after a few seconds of still a black screen, this error popped up:



An internal error has occured. Please note down the following
information.
If the problem persists, contact Chris Jones.
(ACI version 3.01.1018)

Error: prepare_script: error -18 (no such function in script) trying to run
'room_AfterFadeIn' (Room 1)


I had just been trying to fix the game so that when you looked at something, a box popped up giving you a discription of it (with the function_nameofobject()
{
Display("Text.");
}

) etc, and didn't mess around with anything else.
#4
I'm very new to AGS, I downloaded it yesterday, well, I actually downloaded it awhile back, but haven't used it in awhile.
Maybe I'm just being stupid, and not realising something at the moment, but is there a way to change the cursor sprite that comes with AGS (crosshairs) to your own image, without having to make a new set of cursors?

I've read through the tutorial on this, and tried to think of how it could be done, but haven't been able to as of yet. I've tried right clicking the cursor I want to change on the tree navigation thing, I've tried right clicking the setting hotspot box, and a few others.

This is a very basic thing I need help with, mostly to save me time so I wouldn't have to make a whole new set.
Anyone able to help?
Thanks.

/Alex.
SMF spam blocked by CleanTalk