blauweogen Posted January 13, 2008 Share Posted January 13, 2008 Can the player type text, say a note or answer and have it saved so they can access it later? Like a note pad in the cartridge. Thnx Don Quote Link to comment
+GeoGern Posted January 14, 2008 Share Posted January 14, 2008 Hi Don, Yep, that is definitely possible. When you create a "Get Input" in the Builder and tell it to save the input to a ZVariable, it automatically creates code that will store the user's inputted text into a cartridge variable. So, at any time you can create a MessageBox (or other display widget) that will "echo back" the contents of that cartridge variable. For example, say you have a ZInput that stores the text entered into a ZVariable called "userinput". You can then do a MessageBox that dispays the text "You previously entered: <userinput>" (where <userinput> is replaced with whatever the user actually typed). In the MessageBox script you would concatenate the string "You previously entered: " with the variable "userinput": [[You previously entered: ]] .. userinput Also, it might be worth mentioning here (as I have mentioned in another thread) one of the differences between the current devices that support Wherigo. While the PPC devices (and the desktop Emulator) provide an easy and convenient method for entering text, the Garmin Colorado has neither a touchscreen, nor a multi-button keypad (like a mobile phone), so entering long strings of text on that device can become quite tedious. So don't be surprised if users with a Colorado device (or other future devices like the Colorado) don't enter much in the way of text. Cheers, -peter Quote Link to comment
blauweogen Posted January 15, 2008 Author Share Posted January 15, 2008 Wow, thanks GeoGern, Very Helpful. I'm learning, be it slowly. Appreciate the code sample. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.