Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Eddie Chewbacca

#1
Hello,

   I haven't spent to much time learning about GUI's as yet, as I' hoping just to use the Standard GUI's for my first game.  However I want to be able to do a couple of things with them and I have spent the last hour reading and searching for the answers with no luck.  

 My situation is I have a room where a character can walk around in normally, but when he interacts with something, I want to be able to turn off the "Walk" GUI Object, but I can't find the right function to use, I can only find GUIOn and GUIOff, which is not want I want as that turns off the whole GUI and not just that Object.  Is there a simple way to do this?  

 My second question is a little more complicated, and I probably need to fiddle around a little more searching and learning how to do this.  I want to add an extra button to the standard "Inventory" GUI, which is like a Turn on (Or Interact) command, which will allow the player to simply click on the item (Say a torch) in the inventory gui to turn it on.  I was just wondering if there is any example code out there on how I need to code this action, and info on what else is required.  If someone could do this, that would be great, but for now my first question is my main priority.  

Thanks, Eddie.
SMF spam blocked by CleanTalk