Suggestion: More Location types

Started by ratracer, Tue 30/09/2003 15:11:17

Previous topic - Next topic

ratracer

Currently, if I'm not mistaken there are
four location types
0 nothing, GUI or inv
1 hotspot
2 char
3 object
would it be possible to have new ones? like 4 for region? or even subdivide the type 0 to separate nothing, GUI and inv, although this could mean trouble with "legacy" games...
...

Pumaman

Well, GetLocationType is designed for interaction handling, to see what type of thing they clicked on.

If it returns 0, you can split up the result manually by using GetRegionAt, GetInvAt, and so forth.

ratracer

I guess you are right, I did what I was wanting to do with just two script lines using GetRegionAt...
...

SMF spam blocked by CleanTalk