![]() |
![]() ![]() ![]() ![]() ![]()
|
Author | Topic: Names & stuff |
Jim Jones |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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 |
![]() thanks... |
Mica |
![]() 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 |
![]() 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 |