im trying to make a symbol that is two c's,but this icon needs to be on the screen, i sort of played around with the onscreeninventory code to get this code, and i keep getting this error: screen_loc (undefined var). I have the icon and everythig, the below code is the code i am currently using,
Inv
icon = 'cc.dmi'
cc
density = 0
layer = MOB_LAYER+10000
New(client/C)
screen_loc = "1,2"
ID:261639
![]() Oct 27 2002, 9:28 am (Edited on Oct 27 2002, 9:50 am)
|
|
Thanks crispy but i already got the code off of Nadrew in newbie central, he helped me through it, but i appretiate you chipping in.
|
Don't double post!!! We get enough traffic on these forums already. Most people who read Newbie Central also read Code Problems, so it won't really help you that much anyway; it just annoys people when they see an IDENTICAL post twice in different places.
|
With these changes, your code becomes:
<code>obj Inv icon = 'cc.dmi' cc density = 0 layer = MOB_LAYER+10000 New(client/C) screen_loc = "1,2" C.screen+=src //Add it to the client's screen </code>