ID:175468
 
I cannot make my Player icons show up on th emap to move around, i can copy past the things form a tutorial that works, then put my own icons in, and it dosent work right...why?
we need to see your code...
In response to Airjoe

turf
grass
icon = 'Grass.dmi'
name = "grass"

world
turf = /turf/grass

world
mob = /mob/person


mob
person
icon = 'person.dmi'
verb
say(msg as text)
view(src) << "[usr] says: [msg]"



this is my code...i have 2 icons, 1 thats green and grass (which will show up when i compile and run, and 1 thats a stick firgure with the three gender states...help me please!
In response to TrondLock
TrondLock wrote:
turf
grass
icon = 'Grass.dmi'
name = "grass"
icon_state = "grass"
world
turf = /turf/grass
mob = /mob/person
mob
person
icon = 'person.dmi'
***icon_state = "male"
verb
say(msg as text)
view(src) << "[usr] says: [msg]"



this is my code...i have 2 icons, 1 thats green and grass (which will show up when i compile and run, and 1 thats a stick firgure with the three gender states...help me please!

If im correct, your using icon_states but not defineing them in your code.
In response to TrondLock
Youve got improper indentation. With that setup mob/player has no icon, but any plain old mob will have that icon by default. Take the person back one indent like soo


mob
person
icon = 'person.dmi'
.....blah blah // rest of code here
In response to Jotdaniel
right and icon_state goes on the same indent as icon.
In response to Airjoe
Your missing the glaring indentation errors as well joe.
In response to Jotdaniel
when i copy pasted the indentions got mixed up...but they are right ni the game....anyway, the icon_state is what i needed...thanks!