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 - Goldsmith

#1
Is it possible to make the walk cursor display a message after being used in a specific situation? Something like the look cursor for example.

Let's say we have the edge of a chasm in a room. The walkable area only extends to the edge. Whenever the character tries to "walk" to the chasm, I want a message displayed saying "You shouldn't try that" or something to that effect. I tried making the chasm a hotspot and then, using the interaction editor, I had it display a message for "any click on hotspot", under which I put a conditional - "cursor mode is 0" (0 being my walk cursor), but the message won't display that way.
#2
Hey, I'm pretty new to AGS, and I haven't had much time to scan the entire forums so I hope I'm not asking something that's been asked a thousand times before.

OK, so I'm using a room's interaction editor to have a character (scriptname INTRO) walk into the room when the player (EGO) enters it for the first time. After INTRO gets close enough to the player, he starts a multi-topic dialogue. Well, in the middle of the dialogue, I want INTRO to take a break and walk around a bit, and then carry on with the conversation. So, this is what I have in my dialog editor:

intro: You're badly drawn?!? Look at me!
run-script 1
intro: I'm just a badly animated stickman with red eyes!!!

This is what I have in my global script:

function dialog_request(int parameter) {
   Ã,  if (parameter == 1) {
MoveCharacter (INTRO, 140, 100);
MoveCharacter (INTRO, 140, 200);
MoveCharacter (INTRO, 140, 160);
   }
}

Unfortunately, I can't get the desired result from this command. INTRO just goes through the two lines without moving around first. I would've assumed that the problem is the room's interaction editor being on the same level as a room script (as is stated in the FAQ, no two scripts can be executed at the same time), if it weren't for the fact that if in the above dialog_request command I replace INTRO with EGO, EGO gladly walks around while INTRO finishes the dialogue.
The dialog_request is called for both characters (checked), but it only seems to work for EGO.

So, how can I do this properly?
SMF spam blocked by CleanTalk