It's a double-pointer. That most likely will not work.
It's a double-pointer. That most likely will not work.
Take a look at the lua function IsIndoors. I think the function it uses actually takes an object, not a unit (that's how we have it defined in Honorbuddy atleast).
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
Yeah. Why would blizzard implement this when there is no reason to. Why would they need to know if a node is underwater?
Actually yeah. Thinking logically it's something every game object will have. So there probably is something somewhere that indicates underwater. Good luck finding it!
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
They simply check whether you're under water or not. It would make no sense to have GOs store an underwater flag, since it'll never be used.
Remember its not only for underwater, there must be something for when its in a cave has our client dims them on the minimp(right?)
|Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
Greetings!
Could you be so kind to point me to the way to know if the nod is underground or not without lua using. The method shown seems stopped working bot I got tired trying to find my own.
Thanx a lot!
M2Model__IsOutdoors