View Single Post
  #1  
Old 01-29-2012, 05:30 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Problem sending variable

So, kind of going off of my last post about gui images and such, I am now needing to send one of the temp/this variables I have to another weapon's function to continue my process and system. I have this:

I used both temp and this variables attempting to get it to work, as well as this and thiso, because I don't really get what they are and was desperate.

I tried posting code but incapsula kept stopping me for some reason.

Basically i have tempvars creating the gui image, then using a catchevent to catch right mouse click, then setting the obj.var to a this.var, and using GuiControl.onSelect in a pop up that shows up when right clicking to switch the 2 selections and either drop the item or send to a shop. Dropping the item works fine and so does everything else, but sending to shop (which is a public function in a different weapon, the shop weapon) results in null.

I'm thinking that the var has just been passed to much, or however you put it, but I don't really know, and if it has been, I don't know another way to make this work.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote