Staredit Network

Staredit Network -> UMS Assistance -> How do i make it so when player x brings
Report, edit, etc...Posted by DarkDeath19 on 2004-09-26 at 14:36:47
above becomes his and when he takes off his unit it becomes player 7's

ADDITION: thank you for helping me... i just never knew how to do that part...
Report, edit, etc...Posted by BeeR_KeG on 2004-09-26 at 14:37:59

null
Trigger
Players:
¤ Player X
Conditions:
¤ Player X brings a unit to Upgrade place.
Actions:
¤ Give buildings owned by Computer to Current Player.
¤ Preserve Trigger



null
Trigger
Players:
¤ Player X
Conditions:
¤ Player X controls 0 units in Upgrade Place
Actions:
¤ Give buildings owned by Current player to Computer.
¤ Preserve Trigger
Report, edit, etc...Posted by CheeZe on 2004-09-26 at 14:39:05
Trigger
Players:
¤ Humans
Conditions:
¤ Current Player brings at least 1 (unit) to (location)
Actions:
¤ Give all (buildings) owned by Player 7 to Current Player
¤ Preserve Trigger


Trigger
Players:
¤ Player 7
Conditions:
¤ Humans (Force) brings at most 0 (unit) to (location)
Actions:
¤ Give all buildings at (Location) owned by Humans(Force) to Player 7
¤ Preserve Trigger


first time using this code thingy tongue.gif'


darn you and your faster skills sad.gif
Report, edit, etc...Posted by DarkDeath19 on 2004-09-26 at 14:41:01
Thank you alot

ADDITION: lol, if anyone is still in here would it be stealing an idea if i used a way to level up in a map that i have seen before. ex: If you have played mini town def. how you level up in that would that be wrong to use that way of leveling up?
Report, edit, etc...Posted by BeeR_KeG on 2004-09-26 at 14:45:26
You can use that system if you create the triggers yourself and not copy them.
Report, edit, etc...Posted by FaZ- on 2004-09-26 at 14:47:47
If you don't know this your mapmaking skill is beginner, not average. Change it by clicking on your name in the top right of your screen.

As for your question, i assumed that player 2 is the player, and player 6 is the computer. The players unit to take the buildings is a marine. You need two triggers for this.
---------------------------------------
Players:
- Player 2

Conditions:
- Player 2 brings at least 1 Terran Marine to location "Give Buildings".
- Player 2 brings at least 0 building to location "Buildings".
- Any other conditions you want.

Actions:
- Give all buildings owned by player 6 at location "Buildings" to Player 2.
- Any other actions you want.
- Preserve Trigger.
- Comment: Buildings given to P2.
-----------------------------------------
Players:
- Player 2

Conditions:
- Player 2 brings at most 0 Terran Marines to location "Give Buildings"
- Player 2 brings at most 1 Buildings to location "Buildings"
- Any other conditions you want.

Actions:
- Give all buildings owned by Player 2 at location "Buildings" to Player 6.
- Any other actions you want.
- Preserve Trigger.
- Comment: Buildings given to P6.
-----------------------------------------

EDIT- Damnit I'm 3rd lol. My trigger is the best and would not constantly be executing though. -.-
Report, edit, etc...Posted by CheeZe on 2004-09-26 at 14:50:58
...so what if it keeps executing? mine is shorter and uses yoshi's cool coding system. tongue.gif (uses 2 triggers as long as all the humans are in the same force tongue.gif )
Report, edit, etc...Posted by FaZ- on 2004-09-26 at 14:54:37
I can't use any of the buttons above the posts =/ for some reason my javascript no longer works... who knows. If it keeps executing though it will be more laggy. And what if p7 has other buildings somewhere on the map?
Report, edit, etc...Posted by CheeZe on 2004-09-26 at 14:56:42
what? mm...what are you talking about ermm.gif ermm.gif mellow.gif happy.gif

ok I changed it blah, I always forget something cry.gif
Next Page (1)