Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: cant get the enemy comp to attack enemies.
cant get the enemy comp to attack enemies.
Jun 25 2008, 4:59 pm
By: Gangster4Life  

Jun 25 2008, 4:59 pm Gangster4Life Post #1



i cant get player 8 to attack or be aggressive to player 7 another computer and us 6 players which were holding a fort kinda like helms deep. the player 8 is order to patrol a location in the fortress but ... yes they "try to patrol" but they dont attack us the defenders.

YES ALL the alliances have been set.
P7 w/ Force 1 ALLY(vice versa)
P8 - FORCE 1 & P7 Enemy.

its pissin me off.

im using hyper triggers wait(0);

3 sets of em. 60 on each set of waits. i dont know what am i doing wrong. the dumb as comp isnt attacking us. :flamer:


thanks. :-(



None.

Jun 25 2008, 5:09 pm NudeRaider Post #2

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

Have you preserved the patrol order at anywhere? Execute it only at the spawn location.




Jun 25 2008, 5:40 pm Gangster4Life Post #3



i no that. but they arent agressive towards us the human players and the enemy computer. They arent attacking anyone even if u aproach them.



None.

Jun 25 2008, 6:30 pm Clokr_ Post #4



Try posting the whole triggers by copying them from scmdraft.



?????

Jun 25 2008, 6:37 pm Gangster4Life Post #5



ok i got to run ai script zerg insane.

they atttack;

but they wont continuously attack anymore. they just stand in there spawn after the first spawned die...



None.

Jun 25 2008, 7:39 pm Pyro682 Post #6



Just have multiple spawn areas, and have each spawn attack a certain point on the fortress.
for example, in helms deep, youd have 3 Different spawn locations.
Spawn A
Spawn B
Spawn C
And with those 3 spawn locations comes 3 Attack locations.
Attack A
Attack B
Attack C.

Trigger
Players

  • Player 8
  • Conditions

  • Always
  • Actions

  • Create 20 Zerg Zerglings at location Spawn A
  • Order All Any unit to attack to location Attack A
  • Preserve Trigger


  • Trigger
    Players

  • Player 8
  • Conditions

  • Always
  • Actions

  • Create 20 Zerg Zerglings at location Spawn B
  • Order All Any unit to attack to location Attack B
  • Preserve Trigger


  • Trigger
    Players

  • Player 8
  • Conditions

  • Always
  • Actions

  • Create 20 Zerg Zerglings at location Spawn C
  • Order All Any unit to attack to location Attack C
  • Preserve Trigger


  • Now, you can have wait triggers or something to lower the attack times, or change the units. But this is a simple example of it. Or you could have a massive assault when the elapsed time in the game is X seconds....




    If the Zerg player has a a base and Must Use It , Then just have several AI scripts, such as Value This Area Higher. You could also have several Mineral and Gas Spots in the base for the zerg player to have a goal to reach.
    You could also use a combination of the 2 to help the zerg player out. Just create several units burrowed and send them in periodically or something. If the Zerg player is hoarding too much and its too difficult for the players, then just have

    Trigger-
    Conditions
    Player 8 Brings At least 50 Zerg Zerglings at Location (Player 8's Base)
    Actions
    Order all Zerg Zerglings to Attack to (Fortress)
    Preserve Trigger



    None.

    Jun 25 2008, 9:18 pm NudeRaider Post #7

    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

    I really don't know what could go wrong if you are sure to have set up the alliances correctly (not only make players enemy to P8 but also vice-versa).

    You don't need an ai script. Just make a simple spawn-patrol trigger like this:
    P8
    always
    Create 1 <unit type> at 'spawn attackers' for P8
    Order all [men] of P8 at 'spawn attackers' patrol to 'enemy base'
    preserve

    As simple as that.
    Just make sure you don't spam any alliances/orders or other actions you might have included and that P8 is not defeated (check minimap color).
    Also check all your other triggers that they don't reset the alliances or order P8's units.




    Jun 25 2008, 9:50 pm Gigins Post #8



    Sorry but that is silly. Use insane AI script & "AI harass".



    None.

    Jun 25 2008, 10:08 pm Gigins Post #9



    Here is an example map.



    None.

    Jun 26 2008, 5:09 am Kaias Post #10



    If they are told to constantly patrol to the location from wherever they are, they can be retarded like that, not attacking.

    Triggers would help us identify your problem.

    Could be something dumb, like forgetting to put player 8 in force 2



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [03:39 pm]
    Oh_Man -- how many trigs u got?
    [09:34 am]
    GGmano -- there must be a limit for one player on triggers but also a max trigger in total i think
    [09:33 am]
    GGmano -- after deleting alot og triggers i now have to reduce it even more
    [09:33 am]
    GGmano -- damn my file still too big but it doesnt crash only gives message that it cant save to disk,, freaking sad that i wanted to do more stuff but im limited here
    [2022-6-29. : 8:18 am]
    GGmano -- I would have released my New map yesterday if scmdraft didnt fail on saving the merged file
    [2022-6-29. : 8:17 am]
    GGmano -- Not cool when I made such Nice system and I could make it even better if more trigger allowed
    [2022-6-29. : 8:16 am]
    GGmano -- Damn now I have reduce trigger amount impossible to save fil
    [2022-6-27. : 11:03 pm]
    jjf28 -- GGmano
    GGmano shouted: its not possible to move around a p12 owned preplaced a
    when I tried - ya not possible
    [2022-6-27. : 11:02 pm]
    Zoan -- idk, maybe if you change a setting with euds you can do it. Something like the Unit List and Palletes thing or whatever it's called
    [2022-6-27. : 9:42 pm]
    GGmano -- i thought that would be easy but dont work on my test
    Please log in to shout.


    Members Online: DarkenedFantasies, Oh_Man