Magic & Guilds.... in Developer Help
|
|
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
|
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