|
Axe Software Forums
Quest Developer Forum Names & stuff
|
Author | Topic: Names & stuff |
Jim Jones |
posted 07-12-2002 03:07 GMT
i want to know how to make it so the player can choose what they want to change the varyable too. like type in there name or something |
backfyre |
posted 07-12-2002 05:46 GMT
ive done it and how i typed it was something like this script{ for an example. Then if you want to see it just make a command that calls it up. |
Alex |
posted 07-12-2002 13:21 GMT
You don't need the "set" commands in there - and when you use a "set" command, you need to have two parameters (one for the variable name, and one for the contents/value). If you omit those it should work, however: script { You'll then be able to print the player name with something like msg <Hello #name#> |
backfyre |
posted 07-12-2002 15:48 GMT
come on give me some credit i still gave him pretty much the right answer lol. besides the script still works even with the set commands. |
Jim Jones |
posted 07-12-2002 20:11 GMT
thanks... |
Mica |
posted 07-01-2002 05:16 GMT
The question I have regarding this is then how does one implement this snippet? That is, where would I put the "script{ ... }" in order for it to pose the question to the player? |
Computer Whizz |
posted 08-01-2002 04:44 GMT
I thought someone would have replied to this already... You can either open notepad and stick it in at the appropriate place - which is in the "define <#object>" block. When you open QDK it *should* sort it out for you I think. Need any more details? Computer Whizz |