Need a Solution
This topic is locked. You can no longer write replies here.
Apr 5 2010, 6:14 am
By: i3righton  

Apr 5 2010, 6:14 am i3righton Post #1



I'm working on a map that has a player who creates units and gives them to other players.

My problem is these position of players creating units and obtaining units are not preset by forces(the players are in same force) or players(No player 1 gives player 2 ect), and are instead chosen in game. Is there an easy way to have this done without triggering all combination of players?



None.

Apr 5 2010, 6:17 am CecilSunkure Post #2



I need a bit more information. Tell me more specifics as to how you have your current system set up, or what you plan to create as a system for doing this.

And, to get this straight -- player 1 can create units for other players. You want other players, like player 2, to have this ability of player 1 is missing, right?



None.

Apr 5 2010, 6:19 am i3righton Post #3



Here is how it is exactly.

In the beginning of the game you choose to be the builder or the fighter.
You can have 1 builder and 2 fighters.
The builder will get a dark archon to mind control computer units.

When the builder mind controls a unit the unit will spawn for whoever player they want it for, but thats where i have a problem, how do I have them able to set that?



None.

Apr 5 2010, 6:30 am CecilSunkure Post #4



Well there are many different ways. What you need to do, whatever the exact way, is to create your trigger conditions so that they will fire whenever a player is both a builder and has a unit to give.

So, for example, the builder can have a boxed of area where mind controlled units appear. Then the builder sends these units to one of two beacons, each beacon representing a fighter. Units brought to the beacons are given to their corresponding players.

In the triggers' conditions, use the condition of "Current player brings at least 1 unit to beacon", and also a condition of "Current player is a builder". The "Current player is a builder" condition is just a condition that you create that will detect if that player is a builder or not, for example you could detect whether or not they own the beacons in the boxed off area. Then, just apply these triggers to all the players that could possibly be a builder.

Like I said, you can do this in many ways, not just with a boxed off area. The point is that you need to take advantage of the "Current player" option while creating triggers.



None.

Apr 5 2010, 6:38 am i3righton Post #5



Okay I think that will work. I'll go try it, thanks!

EDIT:

I need help with a different problem. I have a larva from a computer player moved and given to a player. It works fine except the larva attempts to crawl back to its hatchery. How can I have it so it acts like a regular larva?

Post has been edited 1 time(s), last time on Apr 5 2010, 8:11 am by i3righton.



None.

Apr 5 2010, 9:45 am NudeRaider Post #6

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

1. Topics shall have descriptive names. Topics with uninformative names such as "help" or "problem" will be closed immediately.
>> Locked




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:37 pm]
NudeRaider -- Vrael
Vrael shouted: wasnt even that really, they 6000 apm just made the terran army so much more value/$ that the extra economy didnt matter
Well yes and no. The apm made him win the battle, but I'm not convinced a pro player can't account for that. He got caught with his pants down so it's not really representative of a prepared player. And the extra economy absolutely would've mattered if that push didn't almost immediately end the game.
[09:54 pm]
Symmetry -- rigged
[09:44 pm]
l)ark_ssj9kevin -- Wing 140 box 2 days in a row o_o
[06:39 pm]
Vrael -- 6000 apm near perfect focus fire is yikes
[06:38 pm]
Vrael -- paralyze was metaphorically speaking, paralyzed
[06:38 pm]
Vrael -- wasnt even that really, they 6000 apm just made the terran army so much more value/$ that the extra economy didnt matter
[01:58 pm]
NudeRaider -- NudeRaider
NudeRaider shouted: Oh_Man nothing too special tbh. the human player wasn't ready to combat the push that stretched almost the whole map. So this game means nothing. We'll have to see how it goes once the humans have adjusted for its unorthodox strategies.
they basically lost most of their army in one big battle and didn't have the time and production to leverage the economic advantage and come back from that blow.
[01:55 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: https://youtu.be/1vsTqNwHquE omg guys it's happening. ITS HAPPENING. EVERONY STAY CALM. STAY F:wob::wob:CKING CALM!
not sure why you are so hyped, when basically the same happened 7 years ago with AlphaStar on SC2.
[01:53 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: 6000 apm XD, i dont even understand how it culd came back wen it was 5 base vs 2
nothing too special tbh. the human player wasn't ready to combat the push that stretched almost the whole map. So this game means nothing. We'll have to see how it goes once the humans have adjusted for its unorthodox strategies.
[10:59 am]
NimoStar -- "Sick" is the appropriate word for the disease that AI is foisting upon our society. Repent, ye sinners!
Please log in to shout.


Members Online: NudeRaider, NimoStar