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.
[02:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
Please log in to shout.


Members Online: Symmetry, O)FaRTy1billion[MM]