CLEO Help Is there a way to check if you're in an interior in CLEO? (any interior)?

CLEO related
Status
Not open for further replies.

Supermacy31

Active member
Joined
Mar 13, 2013
Messages
173
Reaction score
0
Is there such a way and how would you do it? I really want this snippet. It'd be nice.

If player is in interior
...
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
[shcode=cpp]
077E: get_active_interior_to 0@
[/shcode]

If 0@ == 0, you're outside. If anything else than 0 then you're in an interior.
 

Supermacy31

Active member
Joined
Mar 13, 2013
Messages
173
Reaction score
0
springfield said:
[shcode=cpp]
077E: get_active_interior_to 0@
[/shcode]

If 0@ == 0, you're outside. If anything else than 0 then you're in an interior.
Thanks. I'm not sure if it actually works. The server that I tried it on, I think they have a psuedo-interior where it's not an actual interior. But thanks. It seems to work. May try later in a different scenario!
 
Status
Not open for further replies.
Top