Question
Oct 10 2007, 11:29 pm
By: ColdFusion  

Oct 10 2007, 11:29 pm ColdFusion Post #1



How do I make it so a player leaves their units are given to the computer?



None.

Oct 11 2007, 12:00 am who Post #2



Trigger
Players

  • All Players
  • Conditions

  • Command (P12,AtLeast,1,AnyUnit);
  • Actions

  • GiveUnits(All,AnyUnit,P12,Anywhere, --insert computer player--);
  • PreserveTrigger();
  • Comment("Give units to computer");


  • to access player 12 you will need scmdraft or starforge



    None.

    Oct 11 2007, 1:28 am NudeRaider Post #3

    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

    Quote from someone09
    [...]

    to access player 12 you will need scmdraft or starforge
    this works even for whole forces.
    And should be able to use x-tra editor too if you use P12 mode.




    Oct 11 2007, 1:31 am Akar Post #4



    errr, there is a problem with that trigger, it is saying if p12 commands 1 unit at anytime anywhere, than every single unit everywhere will be given to p12... and I highly suggest using more specific terms than just "any unit", because that includes EVERYTHING; buildings, beacons, powerups, map revealers, etc.



    None.

    Oct 11 2007, 1:33 am Hugel Post #5



    To access P9-P12 triggers for Xtra, you need to import some triggers.

    the attachments are the triggers for each P9-P12. It will not specifically say Player 12, but be a blank space. Leave this alone as you can't get it back if you change it. The best way to use these triggers is to copy the entire listing onto a new trigger, delete what you don't want, and add what you do want. In your case it would be, P12 brings any unit to anywhere, Remove/Kill all any unit for P12.

    And as Akar said...P12 actually controls more units than just men/buildings. Minerals are also given to P12, so you should remove/kill specific units or just men/buildings.



    None.

    Oct 11 2007, 1:34 am Joshgt2 Post #6



    that is what a lot of maps do, like defense maps for example...



    None.

    Oct 11 2007, 1:35 am Hugel Post #7



    yeah, and if it is a defense type map where you need those buildings/men saved, just give any men/buildings from P12, back to the players that are still there. The current risk map does this when someone leaves so that there is not free kills.



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [07:49 am]
    NimoStar -- https://staredit.net/topic/18925/ I am gathering pydat and other python suite fields labelled wrongly
    [06:28 am]
    Oh_Man -- AI just beat portal autonomously u heard it here first
    [02:33 am]
    Symmetry -- LLMS aren't intelligent and neither are most people :hurr:
    [01:24 am]
    Moose -- It's okay, I don't have "real" intelligence either because I'm retarded
    [11:30 pm]
    Zoan -- ya totes
    [10:52 pm]
    NudeRaider -- one thing I find fascinating is how sure many people are AI is not "real" intelligence. "It's just a probability machine". Well yes, but who told you your brain isn't?
    [09:05 pm]
    Zoan -- beep beep
    [09:05 pm]
    Zoan -- btw speaking of movies we saw Coyote vs Acme last night; that movie was great imo
    [09:04 pm]
    Zoan -- I threw in more of my thoughts, get ur popcorn ready
    Please log in to shout.


    Members Online: Moose