As the question asks, I've been looking @ the unit fields for a change in unit bits, or a value that would look like health, but i'm not able to find one - does anyone have any ideas?
Thanks!
As the question asks, I've been looking @ the unit fields for a change in unit bits, or a value that would look like health, but i'm not able to find one - does anyone have any ideas?
Thanks!
Give an example what you mean.
You could check if the worldstate is set. That would work from everywhere where you can see the gate on the worldmap.
is there information on the world triggers anywhere?
Yes, of course.
On the one hand you could just do it in LUA by getting the list of landmarks available and checking for name and icon.
The other way is hooking WorldStates. Eighter you get into the SMSG that updates the states or you just reverse yourself to the array holding the values. Then you just need to know which worldstate is your specific wall.
You can get the worldstate ID from AreaPOI. In there is your icon and the location. One of the last coluimns is the worldstate associated.
Yes, this is german ..2111 NorthrendBG Tor des Amethyststerns
2114 NorthrendBG Tor der Rubinsonne
2117 NorthrendBG Tor des Saphirhimmels
2120 NorthrendBG Tor des Smaragdhorizonts
2147 Northrend Turm der Tausendwinterfestung (NW)
2146 Northrend Turm der Tausendwinterfestung (NO)
2144 Northrend Turm der Tausendwinterfestung (SW)
2145 Northrend Turm der Tausendwinterfestung (SO)
2222 Northrend Festungsmauer von Tausendwinter
...
2245 Northrend Festungsmauer von Tausendwinter
2150 Northrend Fahrzeugwerkstatt der Feste (W)
2149 Northrend Fahrzeugwerkstatt der Feste (O)
2153 Northrend Friedhof der westlichen Werkstatt
2266 Northrend Westliche Fahrzeugwerkstatt
2154 Northrend Östliche Fahrzeugwerkstatt
2265 Northrend Friedhof der östlichen Werkstatt
2269 Northrend Fahrzeugwerkstatt Westfunk
2152 Northrend Südwestlicher Friedhof
2151 Northrend Fahrzeugwerkstatt Ostfunk
2270 Northrend Südöstlicher Friedhof
2141 Northrend Schattenblickturm
2142 Northrend Wintersturzturm
2143 Northrend Flammenaugenturm
Getting the value should be easy then. The icons are shown, if the WorldState is set. The worldstate has more than one possible value! The icon is modified based on the value as seen in AreaPOI.
Have fun.