Hero Initialization
Events
Game - Map initialization
Local Variables
Conditions
Actions
Tech Tree - Add 1 to Dark Protoss upgrade for player 1
Dialog - Create a Modal dialog of size (800, 1000) at (0, 0) relative to Center of screen
Variable - Set Character Select Dialog = (Last created dialog)
Dialog - Create a label for dialog Character Select Dialog with the dimensions (200, 50) anchored to Top with an offset of (0, 50) with the text "Select Your Hero" color set to White text writeout set to false with a writeout duration of 2.0
- Pilot Hero
Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (50, 100) setting the tooltip to "Pilot Hero" with button text "Assets\Textures\wireframe-terran-sc..." and the hover image set to ""
Variable - Set Buttons[0] = (Last created dialog item)
- Juggernaut Hero
Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (300, 100) setting the tooltip to "Juggernaut Hero" with button text "Assets\Textures\wireframe-terran-ma..." and the hover image set to ""
Variable - Set Buttons[1] = (Last created dialog item)
- Demolitionist
Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (550, 100) setting the tooltip to "Demolitionist" with button text "Assets\Textures\wireframe-terran-ma..." and the hover image set to ""
Variable - Set Buttons[2] = (Last created dialog item)
- Psionic Warrior
Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (50, 400) setting the tooltip to "Psionic Warrior" with button text "Assets\Textures\wireframe-protoss-z..." and the hover image set to ""
Variable - Set Buttons[3] = (Last created dialog item)
- Sniper
Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (300, 400) setting the tooltip to "Sniper Hero" with button text "Assets\Textures\wireframe-terran-no..." and the hover image set to ""
Variable - Set Buttons[4] = (Last created dialog item)
- Biomedic
Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (550, 400) setting the tooltip to "Biomedic" with button text "Assets\Textures\wireframe-terran-st..." and the hover image set to ""
Variable - Set Buttons[5] = (Last created dialog item)
- Rocketeer
Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (50, 700) setting the tooltip to "Rocketeer" with button text "Assets\Textures\wireframe-terran-re..." and the hover image set to ""
Variable - Set Buttons[8] = (Last created dialog item)
- Mutant Soldier
Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (300, 700) setting the tooltip to "Mutant Soldier" with button text "Assets\Textures\wireframe-terran-pr..." and the hover image set to ""
Variable - Set Buttons[9] = (Last created dialog item)
- Spec Ops
Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (550, 700) setting the tooltip to "Special Ops" with button text "Assets\Textures\wireframe-terran-sp..." and the hover image set to ""
Variable - Set Buttons[10] = (Last created dialog item)
- Make a new, fixed "Random"
Dialog - Show Character Select Dialog for (All players)
Camera - Pan the camera for player 1 to (Center of Region 001) over 2.0 seconds with Existing Velocity% initial velocity, 5% deceleration, and Do Not use smart panning
i dont have the global source to set things like Variable - Set Character Select Dialog = (Last created dialog)
By source do you mean variable...? If so what was said above... Just simply make a global var to the left... If not ,'i don't think anyone understands "global source"
when i go to set my Variable i open the menu and its blank i have nothing to set but when i open the test map he included in the tutorial and he has the global source and i have no idea why i dont have them if what im thinking is right it should be a mod like liberty (mod) and liberty muti (mod) or challenges.sc2mod all of them are depentceys so im thinking that theres a global.sc2mod but i don't have it
To the right, where there are triggers, Right click [or CTRL + B], make NEW Variable! Then select that var, and set its type to "Dialog item" [I think it is] You dont have any global variables... you need to make them. (not in the trigger)
well i just wanted to add a hero selctor to my map but i won't be able to because i dont have global source
global source would be the same as built-in source it's where the editor get's what it use's for you to make your map
@godakuma: Go
huh? what does that have to do witha hero selctor? Im not sure I understand your problem.
don't get it either
you need that source to create the trigger
Hero Initialization Events Game - Map initialization Local Variables Conditions Actions Tech Tree - Add 1 to Dark Protoss upgrade for player 1 Dialog - Create a Modal dialog of size (800, 1000) at (0, 0) relative to Center of screen Variable - Set Character Select Dialog = (Last created dialog) Dialog - Create a label for dialog Character Select Dialog with the dimensions (200, 50) anchored to Top with an offset of (0, 50) with the text "Select Your Hero" color set to White text writeout set to false with a writeout duration of 2.0
-Pilot Hero Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (50, 100) setting the tooltip to "Pilot Hero" with button text "Assets\Textures\wireframe-terran-sc..." and the hover image set to "" Variable - Set Buttons[0] = (Last created dialog item)-Juggernaut Hero Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (300, 100) setting the tooltip to "Juggernaut Hero" with button text "Assets\Textures\wireframe-terran-ma..." and the hover image set to "" Variable - Set Buttons[1] = (Last created dialog item)-Demolitionist Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (550, 100) setting the tooltip to "Demolitionist" with button text "Assets\Textures\wireframe-terran-ma..." and the hover image set to "" Variable - Set Buttons[2] = (Last created dialog item)-Psionic Warrior Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (50, 400) setting the tooltip to "Psionic Warrior" with button text "Assets\Textures\wireframe-protoss-z..." and the hover image set to "" Variable - Set Buttons[3] = (Last created dialog item)-Sniper Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (300, 400) setting the tooltip to "Sniper Hero" with button text "Assets\Textures\wireframe-terran-no..." and the hover image set to "" Variable - Set Buttons[4] = (Last created dialog item)-Biomedic Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (550, 400) setting the tooltip to "Biomedic" with button text "Assets\Textures\wireframe-terran-st..." and the hover image set to "" Variable - Set Buttons[5] = (Last created dialog item)-Rocketeer Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (50, 700) setting the tooltip to "Rocketeer" with button text "Assets\Textures\wireframe-terran-re..." and the hover image set to "" Variable - Set Buttons[8] = (Last created dialog item)-Mutant Soldier Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (300, 700) setting the tooltip to "Mutant Soldier" with button text "Assets\Textures\wireframe-terran-pr..." and the hover image set to "" Variable - Set Buttons[9] = (Last created dialog item)-Spec Ops Dialog - Create a button for dialog Character Select Dialog with the dimensions (200, 250) anchored to Top Left with an offset of (550, 700) setting the tooltip to "Special Ops" with button text "Assets\Textures\wireframe-terran-sp..." and the hover image set to "" Variable - Set Buttons[10] = (Last created dialog item)-Make a new, fixed "Random" Dialog - Show Character Select Dialog for (All players) Camera - Pan the camera for player 1 to (Center of Region 001) over 2.0 seconds with Existing Velocity% initial velocity, 5% deceleration, and Do Not use smart panningi dont have the global source to set things like Variable - Set Character Select Dialog = (Last created dialog)
@Molsterr: Go
from here http://forums.sc2mapster.com/resources/tutorials/6776-tutorials-triggers-character-hero-selection/#p6
if there's away around this i would love to know it
@godakuma: Go
You wanna a global variable?
Is easy to do, just create the variable outside the action.
If not, I don't really get what you need to do.
By source do you mean variable...? If so what was said above... Just simply make a global var to the left... If not ,'i don't think anyone understands "global source"
@fr0d0b0ls0n: Go
when i go to set my Variable i open the menu and its blank i have nothing to set but when i open the test map he included in the tutorial and he has the global source and i have no idea why i dont have them if what im thinking is right it should be a mod like liberty (mod) and liberty muti (mod) or challenges.sc2mod all of them are depentceys so im thinking that theres a global.sc2mod but i don't have it
@godakuma: Go
You need to create it, you can create all the variables you want, with the name you want.
Right click on the left side panel and do New -> Variable. Rename it to that, and check the type is correct (dialog I think is what you need).
Then it will appear in the menu...
you cant create one it's sapost to be there and it's not
could someone could point me in the place to find this "missing data"
Please post a video or screenshot of the error/what is missing.
this is what i see on mine
this is what is should look like
i am sorry for making this i must look like a idiot
@godakuma:
To the right, where there are triggers, Right click [or CTRL + B], make NEW Variable! Then select that var, and set its type to "Dialog item" [I think it is] You dont have any global variables... you need to make them. (not in the trigger)
I lol'd. At least you figured out what to do.
ya i guess lol