Ok,
Sample:
Marine hase 2 kills, how can i set 'm to change to a Zealot, at the same position??
Kills - Current Player kills 2 Any Unit
Move Location - Use this action to center a location onto the marine.
Remove Units - Remove the marine
Create - Create a Zealot
Since I don't know how good you are at making maps, I will repeat what Sala said in a trigger format.
| Trigger |
null| Players: |
| ¤ the same players seen in the last trigger in this post |
| Conditions: |
| ¤ always |
| Actions: |
| ¤ center location x on 2 marines |
| Trigger |
| Description: |
| yay! 2 marines are now 1 zealot! |
|
| Players: |
| ¤ what ever player you want this to apply to. |
| Conditions: |
¤ current player kills 2 any unit
|
| ¤ current player brings at least 2 marines to location x |
| Actions: |
¤ remove 2 marines at location x
|
| ¤ create 1 zealot at location x |
This system works alright if the current player doesn't have more than 2 marines. If the current player does have more than 2 marines, than I recommend adding "presever trigger" to the actions.
One thing before you do any Trigegrs DarkPython.
When you cenetr location on the marine when you arre about to change it for a zealot, use the Center Screen action on it because when it occurs people might be off screen and go like "WTF where is my marine"?
Just make sure that people see what happens.
Wrong all wrong. I believe this is impossible. He is saying when a certain marine (perhaps out of a bunch of others) kills two units by himself, then he changes into a zealot (just himself).
Battle that was a useless post, I think this guy is just new to map making and didn't know how to do even the basics. For people who don't know the basics, I suggest you red the Help section provided inside StarEdit under the Help menu.
Honestly Sala, I'm just stopping people from providing usekless help and answereing the question. It is helping to say that something is impossible.
DT Cruiser is right, if you have more than one of the same marine, you cannot change it to zealot at the same location after two kills.
You can ;however, do two different things to alter this to make it work. You must have ONLY ONE UNIT. Here is the scenario. Player controls ONLY one marine or one zealot, and no other unit that can kill.
The other condition is that if you have a bunch of marines, you can remove the marine and create a zealot...... but the zealot will not appear where that exact marine killed 2 men.
or... as I suggested in a similar quastion in a different topic... give every marine of the bounce a location in a size little smaller than its using SF and telling the center location action to center only on marine that's already in it (using hyper triggers).
that way it'll work perfectly to all rines.
but if you product rines ingame... bah...
Even if each marine has its own location...there is still no way to tell what marine has two kills or if one marine even has to kills at all (two marines with one kill each) What you could do is give the player the option to change into a zealot. Show them their total kills and tell them that they can sacrifice two kills to upgrade a marine into a zealot by walking it onto a beacon. Pretty lame but I think it is your only option.
QUOTE(SA_Max71 @ Dec 12 2004, 10:23 AM)
Since I don't know how good you are at making maps, I will repeat what Sala said in a trigger format.
**Some Triggers**
This system works alright if the current player doesn't have more than 2 marines. If the current player does have more than 2 marines, than I recommend adding "presever trigger" to the actions.
[right][snapback]109545[/snapback][/right]
There is no need to seperate the triggers, you didn't even put what Sala Said in trigger form you changed it to require more work.
so bolt your saying that instead of using two triggers you could just do
| Trigger |
null| Conditions: |
¤ current player kills 2 any unit
|
| ¤ current player brings at least 2 marines to location x |
| Actions: |
¤ center location x on marine at anywhere
|
¤ remove 2 marines at location x
|
| ¤ create 1 zealot at location x |
and itd work?(if that trigger really works)
i never knew that, i guess im a waste of triggers :-(
Yes that is what he is saying. Centering the location before activating a trigger for that location is the same thing as wasting a trigger (but it's not like it matters with such a high trigger max) that constantly centers it on the unit.