how I get the return of the following functions in a variable?
Object.GetAtScreenXY(mouse.x,mouse.y)
Character.GetAtScreenXY(mouse.x,mouse.y)
Hotspot.GetAtScreenXY(mouse.x,mouse.y)
I tried int and string variables but it says it doesnt match
Object* objAt = Object.GetAtScreenXY(mouse.x, mouse.y);
Hotspot* hotspotAt = Hotspot.GetAtScreenXY(mouse.x, mouse.y);
Character* charAt = Character.GetAtScreenXY(mouse.x, mouse.y);
;)
Also, if you need to use legacy code (I think that's what it's called now...), you can then do something like objAt.ID to get the object's number. ;)
thanks for the help monkey
i just finished my coin gui
o/