Object names

kingmorgoth99
08 Jan 2004, 21:33
Does anyone know how to use a script so you can change and objects name e.g. If you talk to the man you find out his name is ben so the object name is changed to ben i no you can do the swap objects thing but i would much prefer to do it this way is that possible?

Cryophile
08 Jan 2004, 21:57
Change the 'alias' property of the object to the new name. It's all in the manual... doesn't anyone read it?!

GameBoy
09 Jan 2004, 13:35
took me 3 years to finally decide to read it... and i still havent read it all. only 1/4 of the way through :oops:

Cryophile
09 Jan 2004, 20:06
I've read it at least 4 times.

Anonymous
12 Jan 2004, 16:25
I think there should be a complete tutorial, but that's just my opinion. Maybe one day someone will go through the manual and compose a tutorial from experience using QDK.

Anonymous
12 Jan 2004, 16:37


I think there should be a complete tutorial, but that's just my opinion. Maybe one day someone will go through the manual and compose a tutorial from experience using QDK.



Well, inbetween working on my library(s) and a few other Quest projects (none of which are games intended for general release b.t.w.) I am very slowly re-writing my old Quest 2 ASL tutorial to cover Quest 3.5

This is an ASL manual coding tutorial however - NOT a how to use QDK tutorial because Alex covers that in the existing documents.

Al (MaDbRiT)

Farvardin
12 Jan 2004, 17:44
it's easy to set up. You can look this sample code, for a character in my game :

	define object <Goteline>
alias <a lady>
alt <girl; princess; Lady>
look <She's very beautiful.>
speak doaction <Goteline; talkto>
examine msg <She has an orange scarf around her shoulders.>
gender <she>
/.../
action <talkto> {
if not flag <story1> and /... some boring code here.../ then {
msg <She's pleased to see/... blablabl.../>
flag on <story1> ' this part is to avoid saying the same msg twice...
property <Goteline; alias = Goteline> ' the important code is here...
}
}
end define

Cryophile
12 Jan 2004, 18:04
Exactly. It's really quite simple. In the manual it says you can use properties to change nearly any option involving objects/rooms.

iamdaman13
12 Jan 2004, 19:23
What about a tutorial for coding character interaction for QuestNet games? Just a thought.

Cryophile
12 Jan 2004, 19:45
Character interaction is simple. Using the with command and the userid array you can manipulate user-specific variables and perform commands on specific users. This is all described in the manual.