1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

No fear

Discussion in 'StarCraft II Modding' started by nostradamus1915, Jun 2, 2010.

  1. nostradamus1915

    nostradamus1915

    Joined:
    Aug 30, 2008
    Messages:
    73
    Resources:
    0
    Resources:
    0
    Hi all, I need to imped to run the units without attack. How can I do it? Help plz!
     
  2. Sgt. Johnson

    Sgt. Johnson

    Joined:
    Jul 25, 2005
    Messages:
    575
    Resources:
    15
    Maps:
    15
    Resources:
    15
    No clue what your asking here, could you clarify >_>
     
  3. nostradamus1915

    nostradamus1915

    Joined:
    Aug 30, 2008
    Messages:
    73
    Resources:
    0
    Resources:
    0
    I've a unit without the attack ability. When this unit (that can't attack) is under attack, it runs. I need to force it to don't run.
     
  4. MGCǂSpectre

    MGCǂSpectre

    Joined:
    Feb 4, 2005
    Messages:
    3,007
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    You could do every time a unit is attacked to hold position or stop or be paused via triggers. And if you won't be using that unit to just disable its movement in the data.
     
  5. nostradamus1915

    nostradamus1915

    Joined:
    Aug 30, 2008
    Messages:
    73
    Resources:
    0
    Resources:
    0
    lol if I disable moviments I can't move it. I need to move it, but it must not flee. Can't I do it without triggers?
     
  6. nostradamus1915

    nostradamus1915

    Joined:
    Aug 30, 2008
    Messages:
    73
    Resources:
    0
    Resources:
    0
    I try with triggers but I don't found in the condictions "Attacked unit"
     
  7. nostradamus1915

    nostradamus1915

    Joined:
    Aug 30, 2008
    Messages:
    73
    Resources:
    0
    Resources:
    0
  8. P-Exodus

    P-Exodus

    Joined:
    Jan 29, 2008
    Messages:
    38
    Resources:
    2
    Maps:
    2
    Resources:
    2
    This is the point, where you normally describe how you solved your problem.

    For everyone else, this is how you do it:
    You have to edit the 'Behavior - Response' field of a unit. It's normally set to 'aquire', which means it attacks the enemy unit. Without an attack this is not possible anymore, so the option 'flee' is used.
    If you want your unit to do nothing, just set the field to 'No Response' and you are done!
     
  9. MGCǂSpectre

    MGCǂSpectre

    Joined:
    Feb 4, 2005
    Messages:
    3,007
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    Yes, I was looking for an equivalent of 'Can Flee - True/False' from war3 but as usual the chance of finding such thing by my calculations is less than 50%.