Jass documentation Database

JASS Documentation Database REFORGED


Results for the query "TerrainDeformationRippleBJ" as a "function"

The search keyword must be a single word (no spaces).

Function TerrainDeformationRippleBJ

Line: 1966
Location: blizzard.j
Constant? no
Type: function
Arguments: real duration, boolean limitNeg, location where, real startRadius, real endRadius, real depth, real wavePeriod, real waveWidth
Returns: terraindeformation

Preview

Extra spaces may have been removed from the original file to show the function in a comfortable way.
  1. function TerrainDeformationRippleBJ takes real duration, boolean limitNeg, location where, real startRadius, real endRadius, real depth, real wavePeriod, real waveWidth returns terraindeformation
  2.     local real spaceWave
  3.     local real timeWave
  4.     local real radiusRatio
  5.  
  6.     if (endRadius <= 0 or waveWidth <= 0 or wavePeriod <= 0) then
  7.         return null
  8.     endif
  9.  
  10.     set timeWave = 2.0 * duration / wavePeriod
  11.     set spaceWave = 2.0 * endRadius / waveWidth
  12.     set radiusRatio = startRadius / endRadius
  13.  
  14.     set bj_lastCreatedTerrainDeformation = TerrainDeformRipple(GetLocationX(where), GetLocationY(where), endRadius, depth, R2I(duration * 1000), 1, spaceWave, timeWave, radiusRatio, limitNeg)
  15. endfunction
"Uh-oh, my Tinker bell." Hmmm... there's no info about this keyword... be the first one in contribute with the keyword TerrainDeformationRippleBJ. You must be logged into the site in order to give us a hand in keeping updated the information. If you don't have an account, you can create one here.
Page loaded in 0.0839 seconds.
Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)   Warcraft RESOURCES Reforged: Modelos, mapas, proyectos y mas...