• 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] creating tile/water at rect

Status
Not open for further replies.
Level 9
Joined
Oct 15, 2006
Messages
339
Hey guys, i'm looking for a code that will allow me to create tiles at rect. I'd like to have a cinematic that shows a barrier being destroyed that seperates deep water from a dry land of the same level. Then the dry would be filled with shallow water and the deep would be shallow water.

My friend Pay123 on USEast told me about it but i didn't have TFT at the time.

Please help :D
 
Level 27
Joined
Feb 22, 2006
Messages
3,052
[jass=You can create most tiles with]native SetTerrainType takes real x, real y, integer terrainType, integer variation, integer area, integer shape returns nothing[/code]

However, you can't add/remove water. You can always use the Rising Water doodad, though.
Quick Q on that: How do you find the different Tile Id's and Shape Id's (Square = 0 and Circle = 1 or something like that I'm guessing?)
--donut3.5--
 
Status
Not open for further replies.
Top