Staredit Network

Staredit Network -> UMS Assistance -> When A Player Leaves.
Report, edit, etc...Posted by eXile5 on 2004-06-06 at 13:09:34
I don't know where to start. I want it so when I ban a player, or a player leaves, the remaining players get their units.

Please help.
Report, edit, etc...Posted by Yoshi da Sniper on 2004-06-06 at 13:13:43
You use Player 12 Triggers that can be found in our downloads database.

Then you make a trigger to give 1 unit to the human players all the time.
Report, edit, etc...Posted by eXile5 on 2004-06-06 at 13:19:24
Okay.

Also, I tend to switch back and forth between SCXE And starforge. Now when I open a map in starforge, save it, open it back in SCXE, then try to save it, it says it's writing, but I don't have starcraft open. And now I can't save those maps in SCXE.

Edit - Nevermind, even though it says it's writing, the map still saves. blink.gif
Report, edit, etc...Posted by Deathknight on 2004-06-06 at 13:26:32
You could also use Starforge for p12 triggers.
Report, edit, etc...Posted by Yoshi da Sniper on 2004-06-06 at 13:34:06
The solution to your problem can be found here:
http://www.staredit.net/index.php?showtopi...indpost&p=28909
Report, edit, etc...Posted by eXile5 on 2004-06-06 at 13:37:57
QUOTE(Ðeathknight @ Jun 6 2004, 12:26 PM)
You could also use Starforge for p12 triggers.

I knew that, I just didn't know where to start.

Edit - Okay, I think I got a rough idea about the p12 thing.

Player 12
Con
Always();
Action
GiveUnits(1, AnyUnit, P12, Location, P1);
GiveUnits(1, AnyUnit, P12, Location, P2);
GiveUnits(1, AnyUnit, P12, Location, P3);
GiveUnits(1, AnyUnit, P12, Location, P4);
GiveUnits(1, AnyUnit, P12, Location, P4);
PreserveTrigger();

Like that?
Report, edit, etc...Posted by Yoshi da Sniper on 2004-06-06 at 17:13:17
Your last
QUOTE
GiveUnits(1, AnyUnit, P12, Location, P4);
should be:
QUOTE
GiveUnits(1, AnyUnit, P12, Location, P5);
wink.gif
Report, edit, etc...Posted by .Coko[CK] on 2004-06-06 at 17:25:11
Could you therefore do that with say P11? And have them placed at beginning, so that each player has their own P?
Report, edit, etc...Posted by eXile5 on 2004-06-06 at 18:45:03
QUOTE(Yoshi da Sniper @ Jun 6 2004, 04:13 PM)
Your last
QUOTE
GiveUnits(1, AnyUnit, P12, Location, P4);
should be:
QUOTE
GiveUnits(1, AnyUnit, P12, Location, P5);
wink.gif

Well you know. ermm.gif

And is P12 the only person to get forgotten units?

And I forgot the Location, 'AnyWhere'. I guess that would work better, right?
Report, edit, etc...Posted by PCFredZ on 2004-06-06 at 19:25:24
P12 is Neutral player, in a way i suppose u can KINDA say it's the "forgotten units"... but wouldn't AnyUnit cover dark swarms and disruption webs too?
Report, edit, etc...Posted by Mini Moose 2707 on 2004-06-06 at 19:39:35
If you use "any unit" the players are going to end up with critters and resource patches. tongue.gif
Report, edit, etc...Posted by eXile5 on 2004-06-06 at 21:23:16
QUOTE(Mini Moose 2707 @ Jun 6 2004, 06:39 PM)
If you use "any unit" the players are going to end up with critters and resource patches. tongue.gif

Lol. I didn't know you could own resource patches.
Report, edit, etc...Posted by xXLordSlippyXx on 2004-06-06 at 22:24:00
Yea, doing that should work


~Off topic- Does anyone know if GUEdit works with 1.11b , or is it just not working for me?
Report, edit, etc...Posted by eXile5 on 2004-06-06 at 22:34:32
QUOTE(eXile5 @ Jun 6 2004, 12:37 PM)
Player 12
Con
Always();
Action
GiveUnits(1, AnyUnit, P12, AnyWhere, P1);
GiveUnits(1, AnyUnit, P12, AnyWhere, P2);
GiveUnits(1, AnyUnit, P12, AnyWhere, P3);
GiveUnits(1, AnyUnit, P12, AnyWhere, P4);
GiveUnits(1, AnyUnit, P12, AnyWhere, P5);
PreserveTrigger();

It's not working for me. I tested it by booting someone, and yet the units stay neutral.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-06-06 at 23:16:31
QUOTE(eXile5 @ Jun 6 2004, 12:37 PM)
QUOTE(Ðeathknight @ Jun 6 2004, 12:26 PM)
You could also use Starforge for p12 triggers.

I knew that, I just didn't know where to start.

Edit - Okay, I think I got a rough idea about the p12 thing.

Player 12
Con
Always();
Action
GiveUnits(1, AnyUnit, P12, Location, P1);
GiveUnits(1, AnyUnit, P12, Location, P2);
GiveUnits(1, AnyUnit, P12, Location, P3);
GiveUnits(1, AnyUnit, P12, Location, P4);
GiveUnits(1, AnyUnit, P12, Location, P4);
PreserveTrigger();

Like that?

Triggers do not run when owned by player 12. When you refer to Player 12 triggers, Were talking about Triggers with actions and or conditions that have "_" or player 12 in them. You should download the special triggers and load them into your map, you don't need Starforge for this.

This trigger will work better

Players:
-All Human Players
Conditions:
-P12 owns at least one men
Actions:
-Give 1 men owned by P12 to current player
-Preserve Trigger
Report, edit, etc...Posted by .Coko[CK] on 2004-06-07 at 04:53:10
QUOTE(eXile5 @ Jun 7 2004, 03:34 AM)
QUOTE(eXile5 @ Jun 6 2004, 12:37 PM)
Player 12
Con
Always();
Action
GiveUnits(1, AnyUnit, P12, AnyWhere, P1);
GiveUnits(1, AnyUnit, P12, AnyWhere, P2);
GiveUnits(1, AnyUnit, P12, AnyWhere, P3);
GiveUnits(1, AnyUnit, P12, AnyWhere, P4);
GiveUnits(1, AnyUnit, P12, AnyWhere, P5);
PreserveTrigger();

It's not working for me. I tested it by booting someone, and yet the units stay neutral.

All Players
Con
Always();
Action
GiveUnits(1, AnyUnit, P12, AnyWhere, P1);
GiveUnits(1, AnyUnit, P12, AnyWhere, P2);
GiveUnits(1, AnyUnit, P12, AnyWhere, P3);
GiveUnits(1, AnyUnit, P12, AnyWhere, P4);
GiveUnits(1, AnyUnit, P12, AnyWhere, P5);
PreserveTrigger();
Report, edit, etc...Posted by Mini Moose 2707 on 2004-06-07 at 15:34:03
QUOTE(xXLordSlippyXx @ Jun 6 2004, 10:24 PM)
~Off topic- Does anyone know if GUEdit works with 1.11b , or is it just not working for me?

I don't see how GUEdit would be dependant on a patch to StarCraft in any way.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-06-07 at 15:38:07
LordSlippy make sure you have the required file. In the downloads section here.

Secondly you can run Staredit and GUedit at the same time.
Report, edit, etc...Posted by .Coko[CK] on 2004-06-07 at 17:33:58
Programs that can run at same time with Star Edit;
SCMDraft 1 + SCMDraft 2
Star Forge
GUEdit
Programs that cannot;
X-tra Editor
Report, edit, etc...Posted by (U)Bolt_Head on 2004-06-07 at 21:34:48
X-tra editor IS staredit

GUedit will not load maps if Staredit (X-tra) is open.
Next Page (1)