Deleting and Dialog scrolling

Started by wackojacko, Wed 11/08/2004 10:26:39

Previous topic - Next topic

wackojacko

This may be a dumb question but how can you delete views and topics? I made a new topic accidentily and now I can't delete it anymore, the same is for the options in the topic, once I made one, I can't delete it anymore. Can anyone help?
???
And I have another question, I have my dialog options shown in my GUI, but when I have more than three dialog options the 4th and 5th and 6th, etc. aren't visible, beacuse there is not enough room. How can I scroll between my dialog options? Like in MI games
:o
http://tim.vd.hoeven.free.fr
Check my new comic! Dutch people only...

Radiant

There are several things in AGS that you cannot delete. Such as views and topics. I'd suggest emptying them of content, and then using them whenever you need a new one. They don't take up much memory anyway.

I believe the solution to your second problem would be to create your own dialog GUI, or use a standard textbox for that.

wackojacko

thanx, but I still have one other question? How can you change the name of an object or character in the script?
Like There's a man called MAN, but if you talk to him he wil be called JIM
;)
http://tim.vd.hoeven.free.fr
Check my new comic! Dutch people only...

Proskrito

you cant scroll dialog options at the moment. You could make an option called 'more..' or something like that, and make it hide the upper options and show the lower ones.

character[CHARID].name is the variable that stores character CHARID's name, so you can change that. However, you cant change hotspots/objects/ inventory items name.

Both things should be in chris' list.

Skio

Well, you can use a textbox GUI, which will automatically resize to fit the options (as in 5DaS) but this GUI will (i think) always appear at the CENTER of the screen. You cannot place it where you like.

To change the name of a character you have to use the character[CHARID].name variable as Proskrito said, but in conjuction with the StrCopy command. that is:

StrCopy(character[MAN].name, "JIM");     // correct

character[MAN].name="JIM"        // incorrect
Î'νδρων Επιφανων Πασα Î"η ΤαφοÏ,

SMF spam blocked by CleanTalk