• 0

    posted a message on [Catalog, Upgrade, Behavior] Unable to modify DamageResponse

    I've ran into a problem with increasing the damage reduction by the sentry's guardian shield through upgrade and catalog. Through upgrades I am unable to change the "Modify Amount" value, it only shows duration and requirements. (Modify Amount is found in the DamageResponse category.)

    I have been successfull in the means of showing this value in the text using a data reference:
    <d ref="Behavior,GuardianShield,DamageResponse.ModifyAmount"/>

    But I am unable to edit the value using the catalog trigger or through upgrades. Here is what I have tried in the trigger:
    Catalog - Set value of Behaviors "GuardianShield" "DamageResponse.ModifyAmount" for player (Triggering player) to "-4"
    Catalog - Set value of Behaviors "GuardianShield" "Combat.DamageResponse.ModifyAmount" for player (Triggering player) to "-4"

    I recieve the same error (catalog field value thing) with both variations. Before posting this I had read a person's post on a thread, and he said that you are unable to edit values that fall under the "DamageResponse" category. I just want to know if this is true. Otherwise, if you know anyway around this. I would like to know!

    My thoughts on possibly working around this if you cannot use the catalog:
    (These are unlikely to work, but I think they are possible.)

    Using a variable in place of a constant value under "Modify Amount". Then an upgrade or trigger will modify the variable causing the value to change which in turn is pretty much the same thing as directly modifying the value with an upgrade or a catalog. (But that doesn't seem to work.)

    Posted in: Triggers
  • 0

    posted a message on [Solved] "Wait" Action Causes error?

    It works now, thanks.

    Posted in: Triggers
  • 0

    posted a message on [Solved] "Wait" Action Causes error?

    Hi, I have recently found an odd error that happens to my trigger when I am using the "wait" action. Without it, the trigger runs perfectly fine. The error is as follows,

    00:00:30.94 Trigger Error in 'gt_Respawn_Func': Parameter out of bounds in 'sUnitCreate' (value: -1, min: 0, max: 15) 00:00:30.94 Trigger Error in 'gt_Respawn_Func': Parameter out of bounds in 'CameraPan' (value: -1, min: 0, max: 15)

    My trigger is as follows,

    Events Unit - Any Unit dies Conditions (Unit type of (Triggering unit)) != Probe (Unit type of (Triggering unit)) != Medic (Owner of (Triggering unit)) != 4 (Owner of (Triggering unit)) != 5 Actions General - Wait 10.0 Real Time seconds Unit - Create 1 Probe for player (Triggering player) at (Center of unit selection) using default facing (No Options) Camera - Pan the camera for player (Triggering player) to (Center of unit selection) over 0.0 seconds with Existing Velocity% initial velocity, 0% deceleration, and Do Not use smart panning

    Any help will be appreciated!

    Posted in: Triggers
  • 0

    posted a message on Kill All Units | Trigger Help |

    Exactly what I want! I took your snippet and combined it with my conditions of player specification and it worked without error. I'm thinking I should save the script so I can always look back at it in the future.

    Thanks, I guess I can get past this annoyance and continue on my map.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Kill All Units | Trigger Help |

    Well, I've got the trigger killing 1 unit now. I think I'll mess around with this action for a little while before I make a decision on how to use it. The problem is, I want the trigger to be instant, it happens and ends in a split second. I was thinking of stacking the action multiple times, but that would probably cause issues.

    Edit: Looking farther into loops, they seem to be instant but may cause stress on the game. Some information on this may be needed for me to fully understand it's use and effect.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Kill All Units | Trigger Help |

    I have spent a long time trying many variations of triggers to get all the units in a region to get killed. I am wanting to get it that when a unit enters a region all units that are in another region die. This was simple in SC but we have less actions for SC2. The options that are region-related won't work for me.

    If there is anyway that I could get this to work, a big thanks to you.

    BTW, I'm quite tired so I may have never noticed that there may be some other thread with an answer.

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