• 0

    posted a message on Unknown Error
    Quote from Mille25: Go

    3 issues there:

    first, why is there no condition in second if? makes it quite pointless. second, "position of triggering unit" makes no sense since there is no triggering unit there. third, the error might also be caused by "order 1" trigger.

    The second one was the problem, thanks

    Posted in: Triggers
  • 0

    posted a message on Unknown Error

    Zergling

    Events

    Timer - Every 5.0 seconds of Real Time

    Local Variables

    Conditions

    Actions

    General - If (Conditions) then do (Actions) else do (Actions)

    If

    (Player 15 Supplies Limit) <= 100

    Then

    Else

    General - If (Conditions) then do (Actions) else do (Actions)

    If

    Then

    Unit - Create 20 Zergling for player 15 at Point 003 facing (Position of (Triggering unit)) (No Options)

    Trigger - Run Order 1 (Check Conditions, Don't Wait until it finishes)

    Else

    -----------

    I have Protoss group that's built the same way. However I get no errors with them

    Posted in: Triggers
  • 0

    posted a message on Unknown Error

    Matching Event Trigger Error in 'gt_zergling_Func': Event Response Function 'EventFunc' has no matching event

    I'm making a defense map and this error keeps coming up every time a Zerg unit spawns. This does not happen with Protoss units however and everything seems to be working correctly. Any idea's what the cause of this?

    Posted in: Triggers
  • 0

    posted a message on Unit vs Unit Help

    Alright, got this to work but still having trouble with the spawning points. They spawn but still don't move

    Edit: Never mind, figured it out I think. However they're targeting themselves and not the closest enemy unit

    Posted in: Triggers
  • 0

    posted a message on Unit vs Unit Help

    @miheinen: Go

    I believe this is what I'm trying now and to no effect. I tryed changing the value of the target to biological and etc, but nothing seems to work.

    Posted in: Triggers
  • 0

    posted a message on Unit vs Unit Help

    Basically what I need to know is if its possible to have the computer attack the next closest unit to its location.

    For example, lets say I have three spawn points. One for Terrans, one for Zerg, and one for Protoss. The spawn points will spawn Marine's, Zealots, Battle cruisers, Motherships, Goliath's, Zergling, Brood Lords, etc, etc. They would hunt the other teams units down and destroy them. However I haven't been able to figure out that part. They usually just stand there and do nothing. I can make them attack my structures, but this isn't what I'm looking for.

    Help will be appreciated.

    Posted in: Triggers
  • To post a comment, please or register a new account.