• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[JASS] The UnitAlive declaration and Vexorian's map optimizer.

Status
Not open for further replies.
Level 11
Joined
Oct 11, 2012
Messages
711
Hi all, I use the following native declaration to check if a unit is alive:
JASS:
native UnitAlive takes unit id returns boolean

But I also found this post by Bribe: https://www.hiveworkshop.com/threads/isunitdead.135811/post-1839278, which says the above native declaration does not work well with Vex's opimizer.
Is that true? I use both the native declaration and the optimizer and have seen any error.
 
Rumors spread like rabbits in Australia. It might've been an issue in the past, but it should work fine if memory serves me correctly. There were a lot of rumors about the optimizer breaking under certain conditions, but a good lot of them were untrue. It might've been due to tests with different versions. Vex might've stealth updated it too. I don't know. As long as you're using the latest version of the optimizer, I'm pretty sure it'll be fine.
 
Status
Not open for further replies.
Back
Top