Jass documentation Database

JASS Documentation Database REFORGED

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

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

Function SetCampaignAvailableBJ

Line: 7261
Location: blizzard.j
Constant? no
Type: function
Arguments: boolean available, integer campaignNumber
Returns: nothing


Extra spaces may have been removed from the original file to show the function in a comfortable way.
  1. function SetCampaignAvailableBJ takes boolean available, integer campaignNumber returns nothing
  2.     local integer campaignOffset
  4.     if (campaignNumber == bj_CAMPAIGN_INDEX_H) then
  5.         call SetTutorialCleared(true)
  6.     endif
  8.     if (campaignNumber == bj_CAMPAIGN_INDEX_XN) then
  9.         set campaignOffset = bj_CAMPAIGN_OFFSET_XN
  10.     elseif (campaignNumber == bj_CAMPAIGN_INDEX_XH) then
  11.         set campaignOffset = bj_CAMPAIGN_OFFSET_XH
  12.     elseif (campaignNumber == bj_CAMPAIGN_INDEX_XU) then
  13.         set campaignOffset = bj_CAMPAIGN_OFFSET_XU
  14.     elseif (campaignNumber == bj_CAMPAIGN_INDEX_XO) then
  15.         set campaignOffset = bj_CAMPAIGN_OFFSET_XO
  16.     else
  17.         set campaignOffset = campaignNumber
  18.     endif
  20.     call SetCampaignAvailable(campaignOffset, available)
  21.     call SetCampaignMenuRaceBJ(campaignNumber)
  22. endfunction
"Uh-oh, my Tinker bell." Hmmm... there's no info about this keyword... be the first one in contribute with the keyword SetCampaignAvailableBJ. 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.0858 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...