• 0

    posted a message on How to disable team killing?

    @ST4RKiLL3R: Go

    You can set up a pretty simple trigger to cause any attack orders against allied units to simply be disregarded:

    Event: Unit - Any Unit is issued an order to Attack

    Condition: (Player (Triggering player) is giving player (Owner of (Target unit for (Triggering order))) Non-aggression) == true

    (read like this: "If the player issuing the order is not hostile towards the owner of the order's target")

    Action: Unit - Order (Triggering unit) to ( Stop) (Replace Existing Orders)

    I don't see a simple way to make this kind of thing cover all hostile abilities, though. For example, I see no reason that Snipe wouldn't still work with this trigger.

    Posted in: Miscellaneous Development
  • 0

    posted a message on anyone had luck creating unit orders?

    @admo: Go

    I was just able to do it with one action, like so:

    Unit - Order (Triggering unit) to ( Stop) (Replace Existing Orders)

    Posted in: Miscellaneous Development
  • 0

    posted a message on Units disappearing

    I'm having the same problem. It's really frustrating. The campaign elements also stop appearing in the data editor. I can't think of what could possibly cause them to disappear, other than a really nasty bug.

    Edit: No sooner do I post than I find a way to fix it. Go to dependencies, and click the tiny little arrow button to reorder them. It looks like this causes them to be reloaded. It might happen again, but if it can be fixed that easily every time it's a relatively minor annoyance.

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