Jass documentation Database

JASS Documentation Database REFORGED


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

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

Function CampaignMinimapIconLocBJ

Line: 2337
Location: blizzard.j
Constant? no
Type: function
Arguments: location where, integer style
Returns: nothing

Preview

Extra spaces may have been removed from the original file to show the function in a comfortable way.
  1. function CampaignMinimapIconLocBJ takes location where, integer style returns nothing
  2.         local integer   red
  3.         local integer   green
  4.         local integer   blue
  5.         local string    path
  6.         if ( style == bj_CAMPPINGSTYLE_PRIMARY ) then
  7.                 // green (different from the unit version)
  8.                 set red         = 0
  9.                 set green       = 255
  10.                 set blue        = 0
  11.                 set path        = SkinManagerGetLocalPath( "MinimapQuestObjectivePrimary" )
  12.         elseif ( style == bj_CAMPPINGSTYLE_PRIMARY_GREEN ) then
  13.                 // green (different from the unit version)
  14.                 set red         = 0
  15.                 set green       = 255
  16.                 set blue        = 0
  17.                 set path        = SkinManagerGetLocalPath( "MinimapQuestObjectivePrimary" )
  18.         elseif ( style == bj_CAMPPINGSTYLE_PRIMARY_RED ) then
  19.                 // green (different from the unit version)
  20.                 set red         = 255
  21.                 set green       = 0
  22.                 set blue        = 0
  23.                 set path        = SkinManagerGetLocalPath( "MinimapQuestObjectivePrimary" )
  24.         elseif ( style == bj_CAMPPINGSTYLE_BONUS ) then
  25.                 // yellow
  26.                 set red         = 255
  27.                 set green       = 255
  28.                 set blue        = 0
  29.                 set path        = SkinManagerGetLocalPath( "MinimapQuestObjectiveBonus" )
  30.         elseif ( style == bj_CAMPPINGSTYLE_TURNIN ) then
  31.                 // yellow
  32.                 set red         = 255
  33.                 set green       = 255
  34.                 set blue        = 0
  35.                 set path        = SkinManagerGetLocalPath( "MinimapQuestTurnIn" )
  36.         elseif ( style == bj_CAMPPINGSTYLE_BOSS ) then
  37.                 // red
  38.                 set red         = 255
  39.                 set green       = 0
  40.                 set blue        = 0
  41.                 set path        = SkinManagerGetLocalPath( "MinimapQuestBoss" )
  42.         elseif ( style == bj_CAMPPINGSTYLE_CONTROL_ALLY ) then
  43.                 // green
  44.                 set red         = 0
  45.                 set green       = 255
  46.                 set blue        = 0
  47.                 set path        = SkinManagerGetLocalPath( "MinimapQuestControlPoint" )
  48.         elseif ( style == bj_CAMPPINGSTYLE_CONTROL_NEUTRAL ) then
  49.                 // white
  50.                 set red         = 255
  51.                 set green       = 255
  52.                 set blue        = 255
  53.                 set path        = SkinManagerGetLocalPath( "MinimapQuestControlPoint" )
  54.         elseif ( style == bj_CAMPPINGSTYLE_CONTROL_ENEMY ) then
  55.                 // red
  56.                 set red         = 255
  57.                 set green       = 0
  58.                 set blue        = 0
  59.                 set path        = SkinManagerGetLocalPath( "MinimapQuestControlPoint" )
  60.         endif
  61.         call CreateMinimapIconAtLocBJ( where, red, green, blue, path, FOG_OF_WAR_MASKED )
  62. endfunction
"Woah! Gonna need a new hamster." Hmmm... there's no info about this keyword... be the first one in contribute with the keyword CampaignMinimapIconLocBJ. 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.1061 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...