mob/Login()
usr.icon = 'Base.dmi'
world << "<font color = red>Welcome [src] we thank you for joining!"
Problem description:The icon although it is coded correctly it wont show as yoour base icon on the map any idea whats going on?
ID:883394
Jul 22 2012, 3:48 am
|
|
Code:
mob/Login() Problem description:The icon although it is coded correctly it wont show as yoour base icon on the map any idea whats going on? |
Jul 22 2012, 3:49 am
|
|
src.icon wont work either i tried that lol
|
Does the icon have any icon_states without names? If not, there's your issue. You either need to make a default blank icon_state, or assign an icon_state along with icon.
|
Yea ssx the i tried to make it with naming the icon states and without still nothing =\
|
Try doing this:
mob If you have an icon state inside of 'Base.dmi' that has no name, mobs will have this icon. If you don't have an unnamed icon state, their icon will be blank until you assign an icon_state to them. |
hmmmmmmmmmmmm @ albro1 nope :/ idk wtf is going on its not just this icon as well -_-
|
It could be a number of things; most commonly it would be something with the icon. I recomend that someone who knows something about developement take a look at your icon to ensure it's not the cause.
After that; it's probaly something in the code that causes the icon to null out. I would search for all instances of .icon in your files to make sure. After THAT; why would you use usr in Login()? Though I haven't toyed with Login() in awhile; I'm sure you shouldn't call usr in it. After THAT; ensure the icon have the exact name you're assigning it in the code. After THAT; ensure you're either automaticly including the file with your code or manualy via #include. |
In response to Angel_heat
|
|
It doesn't have any icon states? Why're you wasting our time?
|
None of that Worked Sketh :\ either way i tried using src and usr and yes the dme file has the code file and everything is correct.........and yes it does have icon states =\ still nothing
|
In response to Albro1
|
|
Albro1 wrote:
Show us a screenshot of the contents of 'Base.dmi'. |
mob/Login() thats the new code everything works but the icon lol |
In response to Albro1
|
|
Albro1 wrote:
Albro1 wrote: |