|
|
Not a bug
| BYOND Version: | 461 |
| Operating System: | Windows XP Home |
| Web Browser: | Firefox 3.5.6 |
|
| Status: |
Not a bug
This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND Developer forums.
|
|
|
I have some problems with click(), my issue with Click() is it does not seem to work with call procs, for some reason in one of my projects i have a simple click creation system, it uses click() for new load and delete like a lot of games do, but thing is it worked for years, and years, and now it does not? I double checked the programing and there is no flaws to it, because it works fine if i put it up into a input screen when the game loads up?
Code Snippet (if applicable) to Reproduce Problem:
mob/proc/Create() if(src.creategame)return if(src.creating)return 0 src.creating=1 switch(alert(src, "Welcome to [world.name]", "Character Creation","Create New?", "Nevermind")) if("Create New?") switch(alert(src, "Welcome to [world.name]", "Choose a slot please","Slot 1","Slot 2","Slot 3")) if("Slot 1") if(fexists("Players/[src.ckey]/[src.ckey](1).sav")) src<<"You already have a player in that slot!" src.creating=0 else if(src.creategame)return src.icontype='shinobi.dmi' src.icon_state="" src.loc=locate(/turf/Login2) src.creategame=1 src.creating=1 src.savefile1=1 src.Village_Clan() if("Slot 2") if(fexists("Players/[src.ckey]/[src.ckey](2).sav")) src<<"You already have a player in that slot!" src.creating=0 else if(src.creategame)return src.icontype='shinobi.dmi' src.icon_state="" src.loc=locate(/turf/Login2) src.creategame=1 src.creating=1 src.savefile2=1 src.Village_Clan() if("Slot 3") if(fexists("Players/[src.ckey]/[src.ckey](3).sav")) src<<"You already have a player in that slot!" src.creating=0 else if(src.creategame)return src.icontype='shinobi.dmi' src.icon_state="" src.loc=locate(/turf/Login2) src.creategame=1 src.creating=1 src.savefile3=1 src.Village_Clan() if("Nevermind") src.creating=0 turf/New Click() usr.Create()
|
Does the problem occur:It occurs for any click() i seem to work with. I dont think im the only one with this issue.
|
Is the icon transparent? If so, there's your source of problem. Setting the mouse_opacity to the opaque value will fix it.