Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
gyppomc1
Newbie


Joined: 28 May 2005
Posts: 2

PostPosted: Sat May 28, 2005 7:24 am   

Inventory buttons?
 
Hey guys, What I'd like to do is set up like an invetory box on zmud.
What I mean is a button, or a number of buttons which each depict an item I have in my invetory.
Ican kinda do that bit.
But what i really want to do is for it to automatically add items to it when, for example i take something from a corpse, of am given something.

Im positive theres a way to do this, but am too inept myself.

Any ideas?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat May 28, 2005 9:49 pm   
 
Quote:

What I mean is a button, or a number of buttons which each depict an item I have in my invetory.
Ican kinda do that bit.


If you can get through the above, then the rest should be a piece of cake. In order to do the above, you need to create variables that go in the captions of the buttons (or if you have all the graphical components, you could try using pictures instead). To change, update, or remove the captions, you need to use triggers that match the output of whatever line contains the information you want (ie, giving an item, dropping an item, wearing an item, taking off an item, picking up an item, or whatever you have for info/inventory output).
_________________
EDIT: I didn't like my old signature
Reply with quote
gyppomc1
Newbie


Joined: 28 May 2005
Posts: 2

PostPosted: Sun May 29, 2005 3:56 am   
 
I'm not entirely sure how variables work, and how to make em.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Sun May 29, 2005 4:36 am   
 
#VARIABLE variableName {value}

The help files are quite in depths, they read like stero instructions, but once you get the hang of it it becomes second nature
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net