If you're struggling finding an answer to your trigger question(s) leave a comment here in full detail of what you are trying to do and how you are trying to do it. As I cannot find everyone's unanswered questions so feel free to ask! If I don't know the answer I'll do my best to find one.
The more creative the trigger the more interested I'll be in trying to help you make it work!
Edit: The best way to reach me by PM the more detail you give the better understanding I will have into responding. If I can't make out what you want or are trying to achieve I'll just ask you to be more specific and move on to the next question then come back to your's once you've gave more detail and I'm available.
I'm trying to make a melee map that, in addition to the normal units, also has heroes that level up with attributes. If i have melee initialization enabled, my heroes don't gain xp, and while having it disabled allows them to gain xp, start locations no longer work. I think I need to make it so that melee initialization doesn't disable xp, but I have no idea how to do that. Do you know how to get this to work.
I'm trying to sync up research and supply between two players, but don't know how to. Here's the code i've gotten so far:
Unit - Any Unit research progress is Completed
Local Variables
Conditions
(Owner of (Triggering progress unit)) == Team 1 Mac
Actions
Tech Tree - Add (Triggering unit property change) to (Triggering progress upgrade) upgrade for player Team 1 Mic
and for supply
Events
Player - Player (Round(Team 1 Mac)) Supplies Made changes
Local Variables
Conditions
Actions
Player - Modify player Team 1 Mac Supplies Made: Set To {(Player Team 1 Mac Supplies Made)+(Player Team 1 Mic Supplies Made)}
How I can use the Action: Display Button show the button only for the triggering player?
When a player enters the region, the game checks in and run the trigger that shows the button:
Door01ComputerEnterEventsTimer-Every0.2secondsofGameTimeLocalVariablesConditions(NumberofLivingunitsin(AnyunitsinComputerDoorRoom01ownedbyplayerAnyPlayermatchingExcluded:Air,Massive,Structure,Resource(Raw),Resource(Harvestable),Missile,Item,Buried,Dead,Hidden,withatmostAnyAmount))>=1ComputerRoom01InUse==FalseActionsVariable-SetComputerRoom01InUse=TrueGeneral-Wait0.5GameTimesecondsTrigger-RunOpenDoor01ButtonDisplay(CheckConditions,Don't Wait until it finishes)
Then it activates the trigger OpenDoor01 Button Display, wich is:
Problem is, how can I make the button appear only for the triggering player? I don't want to use dialog itens as they are a bit complicate to use. Is there a way?
I appreciate this thread, Great service. That said, I have 2 questions.... For now. I am new to Sc2's editor, I understood Sc1's pretty well.
Anywhooo Here are my problems.
1: I can't get unit scores to update. EX: Zergling kills Zealot, this should award 200 points on my leaderboard. The leaderboard doesn't change.
2: I wan't to stop creating lings and create a new unit, at a specific score.
Leaderboard Triggers.....
Events:
Game - Map initialization
Local Variables.
Conditions.
Actions
Leaderboard - Enable showing state for (Last created) for (All players)
Leaderboard - Create a leaderboard with 2 columns and 4 rows. With the name "xxxxxxx" and using (100%, 100%, 100%) Color
Leaderboard - Set (Last creaed leaderboard) item text at column 1 and row 1 to (Name of player1)
Leaderboard - Set (Last created leaderboard) item text at column 2 androw 1 to (Text(Player1 Score)
Variables Folder.
Player1 Score = 0 <Integer>
Thats my leaderboard.
Heres my score modifier. Which I want to change based on which unit is kiled
Events
Unit - Any Unit dies
Local Variables
Conditons
(Owner of (Killing unit)) != (Player1 Score + (Player 1 Totalunits Score score))
Actions
Leaderboard - Set (Last created Leaderboard) Item text at column 2 and row 1 to (Text(Player1 Score))
This is my unit creator. Which I would like to stop when the score reaches 2300.
Events
Timer - Every 2.0 seconds os Gae Time
Local Variables
Conditions
Acions
General - While (Conditions) are true, do (Actions)
Conditions
0 <= (Player Total Units Score score) <= 2300
Actions
Unit - Create 1 Zergling for player 1 at (Position xxx) using default facing (No options)
This actually doesn't create any units. even though my score is 0.
The questions I'm seeing on here should be easily solved by searching through the forum.
The SC2 Mapster search engine is awful. If I search for "how to make buttons" on it, it will show me results with one of the key-words like "how" "to" "make" "buttons" instead of only showing results that contain all of them in the result. I am not going to look in to 100 pages of useless results trying to find something useful.
Dialog Items is the best route. I suggest using them since you believe they are complicated. Once you get used to them and trust me you will you see how much easier they are to use.
Basically what you could do is when you unit enters the region to add a actions "Dialog Item - Show (Dialog Item Variable) for (Playergroup (TriggeringPlayer)). Of course you would need a Dialog to display the button but that's the easiest part to make. If you want an example PM and I'll make it for you.
I''ll start to make exactly what you want. If you want to do it on your own the best way is to use a Loop. If you're not sure how to make a loop I'm pretty sure there are tutorials on here that could help you.
Please if everyone can remember that there are multiple questions and I am currently working on team to develop a map for the Arcade. I made this post just before I got recruited to the team so I wasn't expecting to be as busy as I am. I would still like to help and I have been helping people over the last couple days while still working the my teams current project. I want to help and I enjoy helping just remember It might take a minute for me to reply.
Data Editor is your friend. You want to make a Veterancy Behavior and modify the Info+ to add levels. Also to add attributes per level you will have to create each Attribute Behavior to be added with every level.
Since the new set up of the editor the new settings can add some limitations. So I'm going to remake your map with Veterancy, on the same document type and remove the melee initialization and find out why it's not giving you experience. Also make sure you're using units that actually hold Kill Experience.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
If you're struggling finding an answer to your trigger question(s) leave a comment here in full detail of what you are trying to do and how you are trying to do it. As I cannot find everyone's unanswered questions so feel free to ask! If I don't know the answer I'll do my best to find one.
The more creative the trigger the more interested I'll be in trying to help you make it work!
Edit: The best way to reach me by PM the more detail you give the better understanding I will have into responding. If I can't make out what you want or are trying to achieve I'll just ask you to be more specific and move on to the next question then come back to your's once you've gave more detail and I'm available.
I'm trying to make a melee map that, in addition to the normal units, also has heroes that level up with attributes. If i have melee initialization enabled, my heroes don't gain xp, and while having it disabled allows them to gain xp, start locations no longer work. I think I need to make it so that melee initialization doesn't disable xp, but I have no idea how to do that. Do you know how to get this to work.
@morgoth780: Go
You can actually make your heros with all data and you shouldnt have this problem then.
I'm trying to sync up research and supply between two players, but don't know how to. Here's the code i've gotten so far: Unit - Any Unit research progress is Completed
Local Variables
Conditions
(Owner of (Triggering progress unit)) == Team 1 Mac
Actions
Tech Tree - Add (Triggering unit property change) to (Triggering progress upgrade) upgrade for player Team 1 Mic
and for supply
Events
Player - Player (Round(Team 1 Mac)) Supplies Made changes
Local Variables
Conditions
Actions
Player - Modify player Team 1 Mac Supplies Made: Set To {(Player Team 1 Mac Supplies Made)+(Player Team 1 Mic Supplies Made)}
But neither of those two work
How I can use the Action: Display Button show the button only for the triggering player?
When a player enters the region, the game checks in and run the trigger that shows the button:
Then it activates the trigger OpenDoor01 Button Display, wich is:
Problem is, how can I make the button appear only for the triggering player? I don't want to use dialog itens as they are a bit complicate to use. Is there a way?
I appreciate this thread, Great service. That said, I have 2 questions.... For now. I am new to Sc2's editor, I understood Sc1's pretty well.
Anywhooo Here are my problems.
1: I can't get unit scores to update. EX: Zergling kills Zealot, this should award 200 points on my leaderboard. The leaderboard doesn't change. 2: I wan't to stop creating lings and create a new unit, at a specific score.
Leaderboard Triggers.....
Events: Game - Map initialization Local Variables. Conditions. Actions Leaderboard - Enable showing state for (Last created) for (All players) Leaderboard - Create a leaderboard with 2 columns and 4 rows. With the name "xxxxxxx" and using (100%, 100%, 100%) Color Leaderboard - Set (Last creaed leaderboard) item text at column 1 and row 1 to (Name of player1) Leaderboard - Set (Last created leaderboard) item text at column 2 androw 1 to (Text(Player1 Score)
Variables Folder. Player1 Score = 0 <Integer>
Thats my leaderboard.
Heres my score modifier. Which I want to change based on which unit is kiled Events Unit - Any Unit dies Local Variables Conditons (Owner of (Killing unit)) != (Player1 Score + (Player 1 Totalunits Score score)) Actions Leaderboard - Set (Last created Leaderboard) Item text at column 2 and row 1 to (Text(Player1 Score))
This is my unit creator. Which I would like to stop when the score reaches 2300.
Events Timer - Every 2.0 seconds os Gae Time Local Variables Conditions Acions General - While (Conditions) are true, do (Actions) Conditions 0 <= (Player Total Units Score score) <= 2300 Actions Unit - Create 1 Zergling for player 1 at (Position xxx) using default facing (No options)
This actually doesn't create any units. even though my score is 0.
Thanks for any help.
The questions I'm seeing on here should be easily solved by searching through the forum.
You are much more likely to have people respond to your issue if your post directly to the trigger forum.
@Projekton: Go
SoulCarveRR is right, your a good samaritan but your idea is pointless, just post directly into the trigger forum.
The SC2 Mapster search engine is awful. If I search for "how to make buttons" on it, it will show me results with one of the key-words like "how" "to" "make" "buttons" instead of only showing results that contain all of them in the result. I am not going to look in to 100 pages of useless results trying to find something useful.
@Eclipsado: Go
Dialog Items is the best route. I suggest using them since you believe they are complicated. Once you get used to them and trust me you will you see how much easier they are to use.
Basically what you could do is when you unit enters the region to add a actions "Dialog Item - Show (Dialog Item Variable) for (Playergroup (TriggeringPlayer)). Of course you would need a Dialog to display the button but that's the easiest part to make. If you want an example PM and I'll make it for you.
@PreTenD: Go
If you could PM me I could go over it a lot better.
@Trieva: Go
I''ll start to make exactly what you want. If you want to do it on your own the best way is to use a Loop. If you're not sure how to make a loop I'm pretty sure there are tutorials on here that could help you.
@wolkec: Go
If you could PM me with everything you want in good detail I'm sure I can come up with exactly what you need.
@Projekton: Go
Please if everyone can remember that there are multiple questions and I am currently working on team to develop a map for the Arcade. I made this post just before I got recruited to the team so I wasn't expecting to be as busy as I am. I would still like to help and I have been helping people over the last couple days while still working the my teams current project. I want to help and I enjoy helping just remember It might take a minute for me to reply.
Sorry for any inconvenience.
@morgoth780: Go
Data Editor is your friend. You want to make a Veterancy Behavior and modify the Info+ to add levels. Also to add attributes per level you will have to create each Attribute Behavior to be added with every level.
@Projekton: Go
i've done that, but as i've said the unit doesn't gain xp unless i disable melee initialization
@morgoth780: Go
Is your document type Melee Map or Arcade Map?
@PreTenD: Go
This should explain everything. If you have any questions just PM me.
@Projekton: Go
melee... would that make a difference?
@morgoth780:
Since the new set up of the editor the new settings can add some limitations. So I'm going to remake your map with Veterancy, on the same document type and remove the melee initialization and find out why it's not giving you experience. Also make sure you're using units that actually hold Kill Experience.