Jass documentation Database
JASS Documentation Database REFORGED
Results for the query "MeleeRandomHeroLoc" as a "function"
Function MeleeRandomHeroLoc
Preview
Extra spaces may have been removed from the original file to show the function in a comfortable way.
// The selection of heroes is dependant on the game version.
else
endif
// Translate the roll into a unitid.
if roll == 1 then
set pick = id1
elseif roll == 2 then
set pick = id2
elseif roll == 3 then
set pick = id3
elseif roll == 4 then
set pick = id4
else
// Unrecognized id index - pick the first hero in the list.
set pick = id1
endif
// Create the hero.
endif
return hero
endfunction
"You have ten seconds to comply!"
Hmmm... there's no info about this keyword... be the first one in contribute with the keyword MeleeRandomHeroLoc.
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.0795 seconds.
|