• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Condition to check if "outside" ?

janktron

Member
Joined
Sep 25, 2015
RedCents
761¢
is there a check for this? i know certain zones are considered outside even tho you might not expect it.
 
Changes.txt is your friend.

14 Nov 2016 by eqmule

- Corrected the zoneinfo struct
What we previously had been refering to as "ZoneType" was not in fact it, so it has been renamed to FOgOnOff which is what its for.
This means that ${Zone.Type} has changed a bit...
it now returns 0-5 see the EOutDoor enum for more info. And whoever wants to update the wiki should refer to that.
in short: 0=Indoor Dungeon 1=Outdoor 2=Outdoor City 3=Dungeon City 4=Indoor City 5=Outdoor Dungeon
 
Which means another way you could check is using the TLO select, and compare the zone types.

http://www.redguides.com/docs/projects/macroquest/reference/top-level-objects/tlo-select/

So something like ${Select[${Zone.Type},1,2,5]} will return an integer (1, 2, or 5) if the zone is outdoors, or a 0 if it is indoors. 0 is of course read as false, and any integer is true.

There are multiple ways to get there, just a matter of which one you prefer to use =)
 
Question - Condition to check if "outside" ?

Users who are viewing this thread

Back
Top
Cart