turf/Goku2
icon = 'Chars.dmi'
icon_state = "Ha"
Click()
usr.loc = locate(3,3,1)
icon = 'Goku.dmi'
icon_state = "Mob"
Problem description:
No icon appears and it says theres no errors when i click it it send me to 3,3,1 but i have no icon
ID:144294
Jan 28 2007, 10:57 am
|
|
Code:
turf/Goku2 Problem description: No icon appears and it says theres no errors when i click it it send me to 3,3,1 but i have no icon |
Jan 28 2007, 11:08 am
|
|
Make sure the icon_state is the same as it is in the file.
|
In response to Bobthehobo
|
|
Bobthehobo wrote:
Make sure the icon_state is the same as it is in the file. Or try making your own code. |
In response to Dark Bahamut
|
|
Screw u it is i just cant find out the prob everything is perfect but it dont work AND ITS MY CODE
|
In response to Shomone
|
|
Shomone wrote:
Screw u it is i just cant find out the prob everything is perfect but it dont work AND ITS MY CODE Everything is perfect? Then why does it got errors? And don't flame me, you damn ripper. |
Shomone wrote:
Code: > turf/Goku2 Problem description: Nothing is wrong with your code it's just your forgeting something |
In response to Upinflames
|
|
Upinflames wrote:
Shomone wrote: > > turf/Goku2 Problem description: Yep, forgetting to code it himself. |
In response to Dark Bahamut
|
|
Poster above me, shut up. You aren't helping.
To the topic owner, since Click() is done by the usr, you need usr.icon and usr.icon_state no just icon and icon_state. The way you have it there is changing src, which is what you clicked, not you. Whenever there isn't somethiing infront of a variable setting, it is automatically assumed to be src. The player is not src in this case, the player is usr. So put usr infront of icon and icon_state. |
In response to Dark Bahamut
|
|
i will flmae u dick head i dont rip ok everything is from scratch and it aint easy thats why i post whats wrong
|
In response to Pyro_dragons
|
|
thanks pyro big help i aint tryed it yet but at least ur helping unlike dark bahumet or bahumet who is a giant prick who thinks that everyone is ripping
|
In response to Shomone
|
|
Shomone wrote:
thanks pyro big help i aint tryed it yet but at least ur helping unlike dark bahumet or bahumet who is a giant prick who thinks that everyone is ripping Finally a person has said it i wuv you Shomone :P. |