obj/Ninjutsu/Housenka
icon='Skillcard.dmi'
icon_state="Housenka"
DblClick()
set src in usr
// src.Housenka()
Ok I got this Jutsu as a picture but i like it not to go in invotory so how do i make it so it goes in a tab like Ninjutsu
ID:159233
Apr 16 2009, 10:25 am
|
|
obj/Ninjutsu/Housenka Ok I got this Jutsu as a picture but i like it not to go in invotory so how do i make it so it goes in a tab like Ninjutsu |
Apr 16 2009, 10:32 am
|
|
Well, this is pretty simple, you see. Don't put the obj in players' inventories. Then it won't be in inventory. That's the first part covered. In order to make it go in a tab like "Ninjutsu" (guessing you're talking about statpanels here), make such a tab with statpanel(), and make it show the wanted objs either in that call or in a subsequent call(s) to stat(). You could use a list of the objs that should be displayed as the value to display as a stat, and it will display everything in the list. Such a list may be something like a "ninjutsu" list on the player, or a global list of "ninjutsu", depending on your game.
|
In response to Kaioken
|
|
Kaioken wrote:
Well, this is pretty simple, you see. Don't put the obj in players' inventories. Then it won't be in inventory. That's the first part covered. In order to make it go in a tab like "Ninjutsu" (guessing you're talking about statpanels here), make such a tab with statpanel(), and make it show the wanted objs either in that call or in a subsequent call(s) to stat(). You could use a list of the objs that should be displayed as the value to display as a stat, and it will display everything in the list. Such a list may be something like a "ninjutsu" list on the player, or a global list of "ninjutsu", depending on your game. ok i am lost rember i didnt even know how to do the pic and you except me to do this |
In response to Jub369
|
|
And he thinks he's good enough for giving others advice?
Why don't you just make a verb? Making an obj to act like a verb is just nonsensical and stupid. It's understandable when you make an obj on your map for players to interact with, like searching through bushes or what-have-you, but this is just pointless. Just make a verb and change it's category variable... >_> |
In response to Spunky_Girl
|
|
I'm afraid I don't find your 2nd paragraph very well-reasoned. In any case, the common usage of objs to initiate actions, or be a "psuedo-verb" as you put it, is because unlike real verbs they can manifest graphically; the obj's icon.
|
In response to Kaioken
|
|
...or you can use it for that, though I don't really see a purpose to adding an icon to a verb :\ It might make it look better, but other than that I don't really see the point to it.
(couldn't you make a list of the obj pseudo-verbs and then output them into the stat() proc to achieve the same effect? They'd be displayed in one column, but still) |
In response to Spunky_Girl
|
|
The short and easy answer if you're looking for a point: so you can have your GUI how you want it to be, but of course. Not everyone will want everything to be purely textual.
Additionally, they don't say "a picture is worth a thousand words" for naught. :P |
In response to Kaioken
|
|
i just wanted to know how to but in a category i don't want words i like to have pics to click on i think it look better words look lazy and lame.
|
In response to Jub369
|
|
Well, I've already explained how to do that. If you still haven't figured it out, I suggest reading the following articles which also discuss this subject:
http://www.byond.com/members/ DreamMakers?command=view_post&post=32442 http://www.byond.com/members/ DreamMakers?command=view_post&post=36411 You'll probably end up also needing to learn about lists, which can be done through the respective sections of the DM Reference and the DM Guide. |