ID:155354
![]() Jul 23 2011, 1:00 pm
|
|
As the title says, how would I go about detecting an object in a screen_loc var?
|
![]() Jul 23 2011, 1:15 pm
|
|
Try this.
|
You don't want to look at the screen_loc var, you want to look at the list client.screen.
client/verb/CheckObjInScreen(screenloc) I think something like that should work. I've never made anything like it, but that's the general idea. You need to check the objects in client.screen against the location you're looking to identify. You could also return a list by adding Obj to the list if you have multiple objects in the location. |