Jass documentation Database

JASS Documentation Database REFORGED

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

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

Function CameraSetEQNoiseForPlayer

Line: 1484
Location: blizzard.j
Constant? no
Type: function
Arguments: player whichPlayer, real magnitude
Returns: nothing


Extra spaces may have been removed from the original file to show the function in a comfortable way.
  1. function CameraSetEQNoiseForPlayer takes player whichPlayer, real magnitude returns nothing
  2.     local real richter = magnitude
  3.     if (richter > 5.0) then
  4.         set richter = 5.0
  5.     endif
  6.     if (richter < 2.0) then
  7.         set richter = 2.0
  8.     endif
  9.     if (GetLocalPlayer() == whichPlayer) then
  10.         // Use only local code (no net traffic) within this block to avoid desyncs.
  11.         call CameraSetTargetNoiseEx(magnitude*2.0, magnitude*Pow(10,richter),true)
  12.         call CameraSetSourceNoiseEx(magnitude*2.0, magnitude*Pow(10,richter),true)
  13.     endif
  14. endfunction
"That guy ’s nuts! Grab ’m!" Hmmm... there's no info about this keyword... be the first one in contribute with the keyword CameraSetEQNoiseForPlayer. 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.1048 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...