Jass documentation Database

JASS Documentation Database REFORGED


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

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

Function CreatePermanentCorpseLocBJ

Line: 3498
Location: blizzard.j
Constant? no
Type: function
Arguments: integer style, integer unitid, player whichPlayer, location loc, real facing
Returns: unit

Preview

Extra spaces may have been removed from the original file to show the function in a comfortable way.
  1. function CreatePermanentCorpseLocBJ takes integer style, integer unitid, player whichPlayer, location loc, real facing returns unit
  2.     set bj_lastCreatedUnit = CreateCorpse(whichPlayer, unitid, GetLocationX(loc), GetLocationY(loc), facing)
  3.  
  4.     if (style == bj_CORPSETYPE_FLESH) then
  5.         call SetUnitAnimation(bj_lastCreatedUnit, "decay flesh")
  6.     elseif (style == bj_CORPSETYPE_BONE) then
  7.         call SetUnitAnimation(bj_lastCreatedUnit, "decay bone")
  8.     else
  9.         // Unknown decay style - treat as skeletal.
  10.         call SetUnitAnimation(bj_lastCreatedUnit, "decay bone")
  11.     endif
  12.  
  13.     call TimerStart(bj_delayedSuspendDecayTimer, 0.05, false, null)
  14.     return bj_lastCreatedUnit
  15. endfunction
"You have ten seconds to comply!" Hmmm... there's no info about this keyword... be the first one in contribute with the keyword CreatePermanentCorpseLocBJ. 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.0945 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...