If you want all players to be restricted to one area, you could use the No Building tool in pathing to surround areas you don't want buildings made, otherwise I'm not sure.
I'm using a bunker to train units using the ability direct from the barracks and I'm trying to find a way so that when they've trained they spawn in the bunker instead of outside it. Hoping to do this with the data editor but whatever gets the job done ^^
Ah thanks for the clarification, but I still had to stumble around a bit to find it lol. I've still got a lot to learn.
My other question is how would I perform the math on it now that I've got 125 in a variable. For example, each new wave that spawns I want every 50hp to be worth 1 mineral reward, so 125 / 50 = 2 minerals without rounding. I know how to set the events and conditions but can't find a way to simply perform calculations as an action.
I'm trying to get a unit's HP somehow, copy the value into a variable and divide by an amount and converting into an integer. ie:
I need to somehow get a marauders HP data (125) via the trigger editor, then I want to divide that by 50 (2.5) and convert it to an integer and store it (2). I've looked around virtually everywhere in the editor and couldn't find a way to do this. It seems simple enough but I honestly don't know how to go about it.
That's what I'm trying to do but not sure how to copy them as you can't copy/paste or drag and drop. Could you please dumb down how to copy them for me?
0
Wouldn't the teacher still need the SC2 client to test it rather than just see what you've done in the editor? I'm not sure what you're asking exactly
0
I can only think to disable all players until you get to the one you want. I.e. if you want to be player 4 make sure 1-3 aren't assigned
0
Bamp
0
Anyone on the math?
0
@cierpliwy: Go
If you want all players to be restricted to one area, you could use the No Building tool in pathing to surround areas you don't want buildings made, otherwise I'm not sure.
0
I'm using a bunker to train units using the ability direct from the barracks and I'm trying to find a way so that when they've trained they spawn in the bunker instead of outside it. Hoping to do this with the data editor but whatever gets the job done ^^
0
@DarkForce9999: Go
For me there is no easy way out of anything with Galaxy :P
0
Ah thanks for the clarification, but I still had to stumble around a bit to find it lol. I've still got a lot to learn.
My other question is how would I perform the math on it now that I've got 125 in a variable. For example, each new wave that spawns I want every 50hp to be worth 1 mineral reward, so 125 / 50 = 2 minerals without rounding. I know how to set the events and conditions but can't find a way to simply perform calculations as an action.
0
I don't need to set the life I need to pull and store it.
0
I'm trying to get a unit's HP somehow, copy the value into a variable and divide by an amount and converting into an integer. ie:
I need to somehow get a marauders HP data (125) via the trigger editor, then I want to divide that by 50 (2.5) and convert it to an integer and store it (2). I've looked around virtually everywhere in the editor and couldn't find a way to do this. It seems simple enough but I honestly don't know how to go about it.
0
Bump. Sorry for the bumps but I can't find an answer anywhere for this.
0
Bumpety bump
0
TBH I like this forum how it is, nice and simple
0
@s3rius: Go
That's what I'm trying to do but not sure how to copy them as you can't copy/paste or drag and drop. Could you please dumb down how to copy them for me?
0
Check the tutorial forums and play around/experiment