ID:170221
 
I don't know if this is possible, but i'm trying to do a game with a login screen and using the Deadron Char Handling system, but then i put the prock to call the createcharacter proc or the others it says it isn't defined and it won't work. Is there away to modify this to make it where the obj clicked will call the client proc or the mob procs in the deadron char handling?
Is it defined exactly by a proc?

Did you put () behind the proc name such as proc_name()?

Also, did you spell it correctly with perfect capitalization and no extra symbols, etc..?
In response to CaptFalcon33035
um yes exactly, the problem is that if the proc is put into a exactly as is is supose to be, but the object click thing won't call a client or mob proc. i have tried like lots of cominations including client.CharacterCreation() in it and even that didn't work

here is an example *I don't have the exact coding on the computer i'm on but ill give an example*
obj/NewButton
icon='LoginButtons.dmi';icon_state="1";name="New";layer=500
Click()
CharacterCreation()

client
proc
CharacterCreation()
//stuff here


In response to ElderKain
usr.client.Character_Create() or whatever, did you try that?
In response to ElderKain
That's because if you just put a proc like that, it assumes that it's a proc for src, unless it's global.

Click has arguments. Use those to find out whose doing the clicking, then call the proc for him.
In response to Jp
Jp wrote:
That's because if you just put a proc like that, it assumes that it's a proc for src, unless it's global.

Click has arguments. Use those to find out whose doing the clicking, then call the proc for him.

He can just use "usr" if it's in Click.
In response to Hell Ramen
Hell Ramen wrote:
usr.client.Character_Create() or whatever, did you try that?

hmmm, i know i'm still a little of a newbie at coding but i thought u couldn't have something like usr.client. before a command that calls a proc. I thought that becasue i thought it only recognized 1 argument.

Ill try that and i hope it works. ill edit this message if it works or doesn't