• 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.

[JASS] IsPointWater crashes WE ?

Status
Not open for further replies.

Ardenian

A

Ardenian

Does the function IsPointWater crashes the WE ?
It does not give me a syntax error in JassCraft, but upon saving it crashes my WE.

JASS:
if IsPointWater( x, y) == true then
crashes, but

JASS:
if IsTerrainPathable(x,y,PATHING_TYPE_WALKABILITY) and not IsTerrainPathable(x,y,PATHING_TYPE_AMPHIBIOUSPATHING) then
does not. If I use the second one and it would return fales ( not water), would then ifthen run then or correctly not ?
 

Ardenian

A

Ardenian

Since IsPointWater is not highlighted when you post it on the hive, means it's not a default native and requires a third party addition.

Hm, thank you!
Strange, JassCraft recognizes it and it is in their function list.
 
Status
Not open for further replies.
Top