Staredit Network

Staredit Network -> UMS Assistance -> Take Over and Lose Controll of Building help
Report, edit, etc...Posted by DISTURBED on 2004-11-02 at 14:32:16
I can't get this trigger on my map to work correctly.. you see.. if you've played Golems Ultra, or Golems Revolution, which ever it is, there's a Spore Colony in the middle of the map that you can take over with certain amounts of units. I want that to be on my map, but I can't get it to work correctly, I can get the take over part done fine, but the lose control of it and return to normal player to work.

Some one post here the trigger setup on how to do this?
Thanks. helpsmilie.gif
Report, edit, etc...Posted by NeoNightmareX on 2004-11-02 at 14:39:01
i had that going for one of my maps for an RPG, when u step on a beacon, all the upgrade buildings become yours

put a location over the buildings you want to control, lets say nexus is the building and lets call the location Nexus Control(it has to be bigger than the building obviously)

Players: All the human players or whoever you want
-------------------------------------------------------------
Conditions: Current Player brings at least 1 men to Nexus Control
-------------------------------------------------------------
Actions: Give all Buildings at Nexus Control to Current Player
Preserve Trigger
-------------------------------------------------------------

and heres a trigger to give it back to the comp when the player leaves that area (if you need it)

Players: Force 1 or whatever players you want
-------------------------------------------------------------
Conditions: Force 1 has exatly 0 men at Nexus Control
-------------------------------------------------------------
Actions: Give all buildings at Nexus Control to Player 8/Computer
Preserve Trigger

is that what you meant? im not sure if you have to preserve trigger, but do it just in case
Report, edit, etc...Posted by PCFredZ on 2004-11-02 at 14:49:49
Players: Human Force
Conditions: Current Player brings at least 1 Men to Spore Location
Conditions: Human Force brings exactly 0 Buildings to Spore Location
Effects: Give 1 Spore Colony owned by All Players at Spore Location to Current Player
Effects: Preserve Trigger

Players: Human Force
Conditions: Current Player brings at least 1 Spore Colony to Spore Location
Conditions: Current Player brings exactly 0 Men to Spore Location
Effects: Give 1 Spore Colony owned by Current Player at Spore Location to Computer Player
Effects: Preserve Trigger

This will guarantee that if the player who owns the Spore Colony leaves the game, everything will still go on as normal.
Report, edit, etc...Posted by SA_Max71 on 2004-11-02 at 14:55:08
QUOTE(NeoNightmareX @ Nov 2 2004, 11:39 AM)
i had that going for one of my maps for an RPG, when u step on a beacon, all the upgrade buildings become yours

put a location over the buildings you want to control, lets say nexus is the building and lets call the location Nexus Control(it has to be bigger than the building obviously)

Players: All the human players or whoever you want
-------------------------------------------------------------
Conditions: Current Player brings at least 1 men to Nexus Control
-------------------------------------------------------------
Actions: Give all Buildings at Nexus Control to Current Player
Preserve Trigger
-------------------------------------------------------------

and heres a trigger to give it back to the comp when the player leaves that area (if you need it)

Players: Force 1 or whatever players you want
-------------------------------------------------------------
Conditions: Force 1 has exatly 0 men at Nexus Control
-------------------------------------------------------------
Actions: Give all buildings at Nexus Control to Player 8/Computer
Preserve Trigger

is that what you meant? im not sure if you have to preserve trigger, but do it just in case
[right][snapback]93398[/snapback][/right]

I prefer to avoid using anything that has "exactly" in the triggers because I have had trouble with it in the past. Instead, I like to use the "at most" along with "at least" trigger...
Report, edit, etc...Posted by LegacyWeapon on 2004-11-02 at 15:00:42
Exactly works just fine :\

Lemme give you the triggers in the SeN format.

Trigger
Players:
¤ Players it applies to
Conditions:
¤ Current player brings at least 1 unit to 'location'
¤ Computer brings at least 1 building to 'location'
Actions:
¤ Give units at 'location' to current player.
¤ Preserve trigger.


Trigger
Players:
¤ Players it applies to
Conditions:
¤ Current player brings at most 0 unit to 'location'
¤ Current player brings at least 1 building to 'location'
Actions:
¤ Give all units at 'location' to computer.
¤ Preserve trigger.
Report, edit, etc...Posted by NeoNightmareX on 2004-11-02 at 15:05:54
QUOTE(LegacyWeapon @ Nov 2 2004, 03:00 PM)
Exactly works just fine :\

Lemme give you the triggers in the SeN format.







Trigger
Players:
¤ Players it applies to
Conditions:
¤ Current player brings at least 1 unit to 'location'
¤ Computer brings at least 1 building to 'location'
Actions:
¤ Give all units at 'location' to current player.
¤ Preserve trigger.








Trigger
Players:
¤ Players it applies to
Conditions:
¤ Current player brings at most 0 unit to 'location'
¤ Current player brings at least 1 building to 'location'
Actions:
¤ Give all units at 'location' to computer.
¤ Preserve trigger.

[right][snapback]93414[/snapback][/right]


i dont see where you got how he wanted whoever owns the middle to own all the units there, just to own the building there and to SA_Max

QUOTE
QUOTE
QUOTE(NeoNightmareX @ Nov 2 2004, 11:39 AM)
i had that going for one of my maps for an RPG, when u step on a beacon, all the upgrade buildings become yours

put a location over the buildings you want to control, lets say nexus is the building and lets call the location Nexus Control(it has to be bigger than the building obviously)

Players: All the human players or whoever you want
-------------------------------------------------------------
Conditions: Current Player brings at least 1 men to Nexus Control
-------------------------------------------------------------
Actions: Give all Buildings at Nexus Control to Current Player
Preserve Trigger
-------------------------------------------------------------

and heres a trigger to give it back to the comp when the player leaves that area (if you need it)

Players: Force 1 or whatever players you want
-------------------------------------------------------------
Conditions: Force 1 has exatly 0 men at Nexus Control
-------------------------------------------------------------
Actions: Give all buildings at Nexus Control to Player 8/Computer
Preserve Trigger

is that what you meant? im not sure if you have to preserve trigger, but do it just in case


I prefer to avoid using anything that has "exactly" in the triggers because I have had trouble with it in the past. Instead, I like to use the "at most" along with "at least" trigger...


yea me 2 but for 0 i always use exactly, because u cant really have less than 0 units in starcraft, unless theres a trick you know that i dont, lol tongue.gif and if you look closely

QUOTE
Conditions: Current Player brings at least 1 men to Nexus Control
i did use that biggrin.gif
Report, edit, etc...Posted by LegacyWeapon on 2004-11-02 at 15:11:29
QUOTE(NeoNightmareX @ Nov 2 2004, 03:05 PM)
i dont see where you got how he wanted whoever owns the middle to own all the units there, just to own the building there and to SA_Max
[right][snapback]93420[/snapback][/right]

I said units... not ALL UNITS. That is how I format my triggers. Units means YOU SPECIFY the units. Please read my posts more carefully for I don't misuse grammar or spell things incorrectly too often. Even so, I do revise it.
Report, edit, etc...Posted by NeoNightmareX on 2004-11-02 at 15:21:00
QUOTE
I said units... not ALL UNITS.


QUOTE
Please read my posts more carefully


let me make it more clear if you dont believe me im going to add in arrows where you said all units

QUOTE(LegacyWeapon @ Nov 2 2004, 03:00 PM)






Trigger
Players:
¤ Players it applies to
Conditions:
¤ Current player brings at least 1 unit to 'location'
¤ Computer brings at least 1 building to 'location'
Actions:
¤ Give all units<----- at 'location' to current player.
¤ Preserve trigger.








Trigger
Players:
¤ Players it applies to
Conditions:
¤ Current player brings at most 0 unit to 'location'
¤ Current player brings at least 1 building to 'location'
Actions:
¤ Give all units<----- at 'location' to computer.
¤ Preserve trigger.

[right][snapback]93414[/snapback][/right]


QUOTE
Please read my posts more carefully
Report, edit, etc...Posted by SA_Max71 on 2004-11-02 at 15:24:07
Yes, for some reason a trigger, on a friends map, wasn't working until I changed it from:
Trigger
Players:
¤ the computer players
Conditions:
¤ player 1-4 (computer players) brings at least 0 any unit to anywhere
Actions:
¤ order exactly 1 scv to location X


There was a scv on the map before and after the trigger above was activated, and since all of the other triggers were disabled, I changed the actions to:
order at least 1 scv to location X
order at most 1 scv to location X

With this new action, the trigger worked (finally mellow.gif )
Report, edit, etc...Posted by PCFredZ on 2004-11-02 at 16:12:15
confused.gif Anyone read my post?

Use exactly for only the value "0" and things like using Deaths as switches.
Report, edit, etc...Posted by KaboomHahahein on 2004-11-02 at 19:27:16
Exactly has problems since the comp reviews them every 2 sec? so Exactly might screw up use Ateast or Atmost. I hade the same problem in my map i used exactly send it only worked in the first few levels and later it did not work but when I used Atmost/Atleast it worked fine. Unless you really need to have and exactly number for your trigger I would sujest using AtMost or Atleast.
Report, edit, etc...Posted by DISTURBED on 2004-11-03 at 02:29:50
Ok those are all great, but I want it like in Golems Madness Ultra... where you gotta bring over 20 men to take over the spore in the center, and when you lose under 20 men, it becomes computer again, and you still have men there, just not enough..
Report, edit, etc...Posted by SA_Max71 on 2004-11-03 at 13:46:24
QUOTE(DISTURBED @ Nov 2 2004, 11:29 PM)
Ok those are all great, but I want it like in Golems Madness Ultra... where you gotta bring over 20 men to take over the spore in the center, and when you lose under 20 men, it becomes computer again, and you still have men there, just not enough..
[right][snapback]93830[/snapback][/right]

ok then. Here:


Trigger
Description:
This trigger gives a spore colony to a player that has 20 or more men
Players:
¤ any players you want this trigger to apply to
Conditions:
¤ current player brings at least 20 men to location "spore"
Actions:
¤ give all spore to current player
¤ preserve trigger



Trigger
Description:
This following trigger will make sure the player losses the spore colony when he/she has less than 20 men
Players:
¤ any players you want this trigger to apply to
Conditions:
¤ current player brings at most 19 men to location "spore"
Actions:
¤ give all spore to the computer player
¤ presever trigger
Report, edit, etc...Posted by PCFredZ on 2004-11-03 at 15:16:42
Quoting SA_Max71 but changing some stuff, bolded changes

QUOTE(SA_Max71 @ Nov 3 2004, 01:46 PM)
ok then. Here:


















[a]preserve trigger[/actions]
Trigger
Description:
This trigger fixes what he said
Players:
¤ any players you want this trigger to apply to
Conditions:
¤ current player brings at least 20 men to location "spore"
Conditions:
¤ human force brings at most 0 buildings to location "spore"
Actions:
¤ give all spore controlled by all players at location "spore" to current player
Actions:
¤ Display "You have taken control of the Spore Colony!"















Trigger
Description:
Fixed what he didn't account for
Players:
¤ any players you want this trigger to apply to
Conditions:
¤ current player brings at least 1 Spore Colony to location "spore"
Conditions:
¤ current player brings at most 19 men to location "spore"
Actions:
¤ give all spore to the computer player
¤ presever trigger

[right][snapback]93921[/snapback][/right]
Report, edit, etc...Posted by SA_Max71 on 2004-11-03 at 15:25:14
ya, pcfredz, but what happens when the human players have more than 20 men, some of their men die and then they have less than 19 men, and then they loss their sunken. Which means there needs to be a preseve trigger there.
Report, edit, etc...Posted by DISTURBED on 2004-11-03 at 16:35:40
Thanks alot people, it works. I'll be sure to add y'all to the credits for helping with this delemna.
Report, edit, etc...Posted by PCFredZ on 2004-11-03 at 17:26:56
Spellcheck: dilemma.

SA_Max71, I think the Preserve Trigger just got left out on the top somehow.
Report, edit, etc...Posted by DISTURBED on 2004-11-04 at 12:32:00
QUOTE(pcfredz @ Nov 3 2004, 06:26 PM)
Spellcheck: dilemma.

[right][snapback]94040[/snapback][/right]

Bleh... Noone's perfect. ^_^
Report, edit, etc...Posted by PCFredZ on 2004-11-04 at 16:14:56
I am nobody.
Nobody's perfect.
Ergo, I am perfect.
tongue.gif

Seriously though, I know I have my faults and stuff. The quote is pretty funny though.
Next Page (1)