A protuberance on a level surface.
|
|
Okay so I have a problem with object clicking in general, below is an example you should look at.
o = position of object.
x = other positions object takes up (think stalls or large trees).
c = places you can click on the object to use the object cases in actionhandler
; = ground
This means that I have to be in front of a c or an o to be able to use the object, if I stand in front of an x nothing will happen until I walk in front of the o, or if I am diagonal from the o (in front of the c).Code:;;;;; ;ocx; ;cxx; ;;;;;
How do I make it so I can click any part of the object to perform the action?
A protuberance on a level surface.



Since the subject of object clicking is touched, what will happen if I do this: [Only registered and activated users can see links. ] ?
I mean should I just stop objectDistance checks or what? if I should is this the proper way to do it, and what happens if I do disable it? Thanks for your help btw.

The proper way to do this is to read the object definitions from the cache, it includes their x/y axis sizes. You also have to read the maps from the cache and store the object directions, and when you click an object it grabs the direction and uses the size to calculate where you need to be to click it.
That sounds nice, if only i was competent enough to figure that out :/.
How do I read object definitions and maps from the cache? Please help more I am dying over how bad this problem really is for me.
My head is about to explode.
EDIT: What does [Only registered and activated users can see links. ] exactly do?
| « Good 317 pk source, client, and cache | Apollo Help ;D » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |