Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Center Loc on Dwebs
Center Loc on Dwebs
Jul 20 2008, 5:08 pm
By: Zell.  

Jul 20 2008, 5:08 pm Zell. Post #1



trigger is for p12.
CONDITIONS
bring(p12 brings atleast 1 dweb anywhere)
ACTIONS
movelocation(move location 42 from anywhere onto d web owned by p12)
Preserve()

The kill trigg(p12)
CONDITIONS
bring(p12 brings atleast 1 dweb to location 42)
ACTIONS
Removeunitatloc(remove 1, dweb, owned by p12, at location 42)
Killunitsat(location 42, all players, units)
Preserve()

So i thought the problem was that dwebs arent owned by p12, so i switched all the p12 to neutral players, the trigg still didnt work :/ help.



None.

Jul 20 2008, 5:11 pm Doodle77 Post #2



Triggers for player 12 don't run. Only triggers for players 1-8 and forces, all players, etc run.



None.

Jul 20 2008, 5:45 pm Atlos Post #3



What Doodle said. Also, those triggers could be condensed into one. Here's what the trigger would look like:

Owner: One of the players in the game
Conditions: All Players (or p12, doesn't matter) brings at least 1 disruption to location anywhere
------
Actions: Move location Dweb on all Disruption Field owned by All Players (or p12, doesn't matter)
Remove all Dweb for All Players at location Dweb
Kill all units for All Players at Dweb
Preserve

The action I bolded is optional. When you kill units with triggers they stay in the trigger cycle and it could cause issues if you have other triggers below this one detecting the dweb.



None.

Jul 20 2008, 6:44 pm Brontobyte Post #4



Trigger("Player 1"){
Conditions:
Bring("All players", "Disruption Field", "Anywhere", At least, 1);

Actions:
Move Location("All players", "Disruption Field", "Anywhere", "Location 42");
Remove Unit At Location("All players", "Disruption Field", All, "Location 42");
Kill Unit At Location("All players", "Any unit", All, "Location 42");
Preserve Trigger();
Comment("Fire :D");
}

//-----------------------------------------------------------------//


Player 1 - This is who ever you want the trigger to work for.
All Players - This could be Player 12, but I choose All Players instead.
All Players - This player will have there units inside "Location 42" killed.



None.

Jul 20 2008, 6:48 pm Kaias Post #5



Quote from Brontobyte
Trigger("Player 1"){
Conditions:
Bring("All players", "Disruption Field", "Anywhere", At least, 1);

Actions:
Move Location("All players", "Disruption Field", "Anywhere", "Location 42");
Remove Unit At Location("All players", "Disruption Field", All, "Location 42");
Kill Unit At Location("All players", "Any unit", All, "Location 42");
Preserve Trigger();
Comment("Fire :D");
}

//-----------------------------------------------------------------//


Player 1 - This is who ever you want the trigger to work for.
All Players - This could be Player 12, but I choose All Players instead.
All Players - This player will have there units inside "Location 42" killed.
Actually I don't think All Players Includes Player 12.



None.

Jul 20 2008, 7:04 pm Brontobyte Post #6



Quote from Kaias
Actually I don't think All Players Includes Player 12.

All Players includes "All Players" from Player 1 all the way to Player 255. Any possible player is included in the "All Players" value.



None.

Jul 20 2008, 9:59 pm Falkoner Post #7



Well, I would say only 1-12, since players after 12 can't be affected by triggers in any way.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:05 am]
Moose -- ya
[05:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
Please log in to shout.


Members Online: Roy, Ultraviolet