CLEO Help Snippet to get Zone(Area) from 3D position ?

CLEO related
Status
Not open for further replies.

Grubitsh

Active member
Joined
Jul 28, 2014
Messages
104
Reaction score
0
Hello!

A wonderfull CLEO alrdeay exist in which you see the current zone (area) you are in.

http://image.noelshack.com/fichiers/2016/03/1453441365-temple.png

I checked the code of this cleo but it's a pure big mess.
I tried by myself and I found:
Code:
08F1: get_zone_at 23@ 24@ 25@ nameA_to 19@v // 8-byte string

But it gives me bullshit.

I wonder if their was a Snippet in which you put 3 coords X Y Z that returns the zone (string) ?
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
It returns a GXT entry.
To get the text for that GXT entry, use a simple opcode
Code:
0ADE: 0@ = text_by_GXT_entry 0@v
Also, pay attention to the notation '8-byte string'.
 

Grubitsh

Active member
Joined
Jul 28, 2014
Messages
104
Reaction score
0
I didn't get what you mean by "Pay attention to 8 byte string" but it works. Thx again
Can you please explain me before locking the topic ?
 
Status
Not open for further replies.
Top