Staredit Network

Staredit Network -> UMS Assistance -> Boundish
Report, edit, etc...Posted by DarkPythn on 2004-12-11 at 04:03:21
Im a idiot i know this is the 3 time i've post this, i keep frogetting disgust.gif confused.gif ermm.gif helpsmilie.gif

if a marine touch a mineral how can you set that the marine dies?
Report, edit, etc...Posted by AqoTrooper on 2004-12-11 at 04:09:36
you create a location around the mineral, but make sure the location to be at least 0.2 bigger than the mineral.
(if you don't know how, you need SF to create locations that don't align to grid, you can get it in the resource page of this site)
than create a trigger with 'always' as a condition and 'kill all marines at [location]' as the action.
Report, edit, etc...Posted by Kow on 2004-12-11 at 09:44:00
Here's for Killing the marine

Trigger
Conditions:
¤ Bring(P1, AtLeast, 1, Marine, Location slightly bigger than the mineral field);
Actions:
¤ KillUnitAt(1, Marine, Location slightly bigger than the mineral field, P1);
¤ PreserveTrigger();
¤ Comment("Kill Marine");



Here's for killing the Mineral Field (1) (Oh, wait, I read that you wanted to kill the mineral field. Well the killing marine is above)

Trigger
Conditions:
¤ Bring(P1, AtLeast, 1, Marine, Location slightly bigger than the mineral field);
Actions:
¤ RemoveUnitAtLocation(1,Mineral Field 1,P12,Location slightly bigger than the mineral field);
¤ PreserveTrigger();
¤ Comment("Kill Marine");
Report, edit, etc...Posted by BeeR_KeG on 2004-12-11 at 10:36:17
QUOTE
if a marine touch a mineral how can you set that the marine dies?

He wants to kill the marine Kow not the minerals.

Here is a better way to do it, it saves locations and time.

Trigger
Players:
¤ Any players
Conditions:
¤ Always
Actions:
¤ Center a location on the Marine
¤ Preserve Trigger


Trigger
Players:
¤ Any Players
Conditions:
¤ P12 has at least 1 Mineral on Location
Actions:
¤ Kill the marine at the location
¤ Preserve Trigger


The location is always on top of the marine and you can save yourself a ton of location
Report, edit, etc...Posted by AqoTrooper on 2004-12-11 at 10:38:41
QUOTE(BeeR_KeG[eM] @ Dec 11 2004, 06:36 PM)
He wants to kill the marine Kow not the minerals.

Here is a better way to do it, it saves locations and time.

...

The location is always on top of the marine and you can save yourself a ton of locations.
[right][snapback]109023[/snapback][/right]

yea but what if he has many marines on the map?

just... create a location over the minerals and tell a trigger to kill all the marines in that locations and preserve... much simpler and need only 1 location.
Report, edit, etc...Posted by BeeR_KeG on 2004-12-11 at 10:42:49
true that system is much simpler but the amount of locations used depends on how many minerals he has. Mine will be one location no matter what.

If there is 1 marine per player then make a separate trigger per player.

Besides, he's gonna have to learn how to make more complex triggers and how to save locations in the future.
Report, edit, etc...Posted by LegacyWeapon on 2004-12-11 at 10:44:30
And since when in a bound does a player have more than 1 marine?
For each player, you can make this trigger.

What if he has many scattered minerals eh?
Report, edit, etc...Posted by AqoTrooper on 2004-12-11 at 11:09:40
QUOTE(LegacyWeapon @ Dec 11 2004, 06:44 PM)
And since when in a bound does a player have more than 1 marine?
[right][snapback]109034[/snapback][/right]

oh... I haven't noticed it was a bound...

anyhow, locations are aligning to grid when you move em' with triggers so if he don't want it to be buggy he better also make a smaller than 1*1 location... :\

wait, since when you use marines in bounds anyway?
bah nvm...
Report, edit, etc...Posted by KaboomHahahein on 2004-12-11 at 11:33:12
About you posting something like this three times...you can just check your old topics and find the answer.
Next Page (1)