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

Messages - MaHusemoen

#1
Advanced Technical Forum / Illegal exception
Wed 02/11/2022 13:38:13
Hello.
I have a problem with running my game in the AGS editor. Every time I try to run it, I get this error message:

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x00487E37; program pointer is +25, ACI version 3.5.1.7, gtags (0,0)

---------------------------

I have no idea how this happened since it ran fine earlier today. I tried to run it after adding some new sprites, and the editor stopped running. And when I tried to run it again I got this error message.
The only thing that I might think could have something to do with it, is that I now have the game files stored on an external hard drive instead of locally on my computer. But I don't know how likely this is.
#2
Quote from: Crimson Wizard on Thu 09/07/2020 14:32:45
Please elaborate, which objects you are trying to disable, and what does not work or does not work like you expected?

I'm currently just testing in one room,  but I'm trying to make one object, the painting, not clickable while talking. I have tried to find a way to make the objects in the room not clickable, but I haven't found a way to code object in the global script.
I already tried a code but it didn't work
Code: ags

object.clickable = false
#3
I have made a custom dialogue tree, and I have problems with it. The type of dialogue tree is a icon based one, and I am having problems with making objects not clickable when this tree appears.

The tree appears when you interact with characters, and replaces the inventory.
This is the code I used.
Code: ags

cDerek.FaceCharacter(cAgraj, eBlock);
cDerek.Say("Um, sir?");
cAgraj.Say("What is it?");
cAgraj.Clickable = false;
RemoveWalkableArea(1);
gInventory.Visible = false;
gDialogueTreeAgraj.Visible = true;
SMF spam blocked by CleanTalk