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.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
Please log in to shout.


Members Online: Nekron, O)FaRTy1billion[MM]