dialogue box for hotspots doesnt work any help?

Started by DragzGames, Thu 26/02/2009 00:28:50

Previous topic - Next topic

DragzGames

i am new to the software and i have made my first room etc but i have gotten to the hotspots section and i have been through the manual countless times and i am still unsure why the dialogue isnt coming up when i try the game after putting the coding in and placing what to say into it.

i need help on this matter and would appreciate it if any1 could help  :)

thanks :)

DragzGames

Nickydude

Best Regards,
Nickydude
www.madladdesigns.co.uk

AGS Beginner's Guide - All you'll ever need!

Khris

The function has to be properly linked.
In the hotspot's event pane (click the bolt icon), add the function by selecting e.g. "look at hotspot" then clicking the ellipses button.
The function is added to the room script, now put in what you want to happen.

DragzGames

what is the elipses button ? i know this sounds very pethetic but i dont know where it is cuz i looked for a button called elipses and couldnt find it sorry

Gilbert

He meant the '...' button. I've heard people called the three dots ellipses. I don't know why though.

DragzGames

ive tried this and yet it doesnt show the dialogue box and the comment for it do u know why it doesnt do that?

if need be ill place the script i have in a reply for u to take a look at :)

thanks for this by the way  ;D

DragzGames

// room script file

function  hWindow1_look()
{
Display("you can see the castle.");
}

this is the coding i have for the looking at hotspot is this right? if not i might have to suggest the manual being looked at as this is what it told me to put and it hasnt worked :S

Snarky

Quote from: Gilbet V7000a on Thu 26/02/2009 17:28:05
He meant the '...' button. I've heard people called the three dots ellipses. I don't know why though.
"Ellipsis" ("ellipses" is the plural), from the Greek word meaning "omission". The name comes from its original use as a symbol to indicate that something has been left out from a quotation.

DragzGames

so could any1 help me out with this coding?
is it the right code for what i wana do?

Khris

Everything except the Display line should have been created by AGS; if you typed all that by yourself, you didn't follow the manual or my post.

DragzGames

all i put was the what to say line but it doesnt show up in the game. why is that? where would i see it if it was? have i done something wrong in the game for it to do that?

if u could answer these questions anybody it would be very greatful :)

thanks

DragzGames

Khris

There's a huge list of video tutorials by Densming here: http://www.youtube.com/densming
Although they sometimes aren't 100% correct, they should be a great help for a beginner.

DragzGames

thanks that helped alot but now it says no such function exists on the hwindow_look part
this is my code:

// room script file

function hwindow_look()
{
  cIvaen.Walk(156, 122, eBlock, eWalkableAreas);
  cIvaen.Say("I can see the castle from here");
}

any help guys??

DragzGames

ive done it now thanks to everyone that helped :)

SMF spam blocked by CleanTalk