I have two questions which i hope you, the good people of the BYOND world will answer:
mob
var
guildicon = 'snake.dmi'
guildname = "Snake"
Stat()
statpanel("Guild")
stat("[guildname]", <--- my 1st question is how to display the variable 'guildicon' in the statpanel so it shows the icon it contains....
My 2nd question is...
Magic.. how can i make spells have icons?
I can already make a simple magic system with verbs but was wondering how to give them icons....
Thanks (i hope) in advance..
-Thorg
ID:174998
![]() Jun 24 2003, 2:07 am
|
|
Just out of intrest can anyone show me a datnum tutorial or a way of grouping obj's so i can make spells in the form of obj's..
Thanks in advance -Thorg p.s. Thanks Lummox |
Here, check out Lummox's nice datum tutorial on BYONDscape: http://www.byondscape.com/ascape.dmb/LummoxJR.2002-0927/
|
To make an icon show in the statpanel, you need to make an atom for it. Typically this would be something that you'd make early on and then create a reference to it. If for example your guild is handled by a datum, you can create an obj to go with it that people can use to display the guild. (And you can give the obj verbs if you want.)
Lummox JR