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

Creating an INSTANT Terrain Deformation

Status
Not open for further replies.
Level 23
Joined
Jul 18, 2004
Messages
1,862
Aight, biting my nails over this one. What I need for a specific spell (a booby trap, of sorts) is an instant terrain deformation, a crater, that lasts 20 seconds. Now when I try to make one, the ground becomes a crater.. slooowwly... over the course of 20 seconds. But no, this isnt what I need. What I need is a crater that *lasts* 20 seconds, not a crater that *takes* 20 seconds to form. Stupid WorldEditor, you're the bane of my imagination sometimes.
 
Level 2
Joined
Feb 3, 2009
Messages
9
Make a permanent crater that takes 0 seconds.

call TerrainDeformCrater(x, y, rad, dep, 0, true)

Then make a timer that has all the values stored, so you can reform the crater in the opposite direction.

call TerrainDeformCrater(x, y, rad, -dep, 0, true)
 
Level 19
Joined
Oct 15, 2008
Messages
3,231
I've been struggling with that kinda stuff too sometimes, I know how you feel...

PS: Omg FireFox is soo.... fast...
 
Status
Not open for further replies.
Top