Object names

kingmorgoth99
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
Change the 'alias' property of the object to the new name. It's all in the manual... doesn't anyone read it?!

GameBoy
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
I've read it at least 4 times.

Anonymous
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


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
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
Exactly. It's really quite simple. In the manual it says you can use properties to change nearly any option involving objects/rooms.

iamdaman13
What about a tutorial for coding character interaction for QuestNet games? Just a thought.

Cryophile
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.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums