• 0

    posted a message on trigger help?

    Last_Attacker is a player array with a size of 11..

    Event 1 - Unit casts Your_Spell

    Actions - Set last_attacker(player number(Owner of targeted unit)) = Owner of Casting unit

    Event 2 - Unit Dies

    Actions - Give 1 point to last_attacker(Player number(Owner of dying unit))

    Posted in: Miscellaneous Development
  • 0

    posted a message on trigger help?

    Are there multiple units per player?

    Posted in: Miscellaneous Development
  • 0

    posted a message on trigger help?

    You could just make an integer array where when ever a player casts the spell on another player, their number fills the slot' and when ever a player dies, it just checks the array to see who gets the point. So for example...

    Player one casts spell on player 2, set the 2nd integer in the array to 1

    When player 2 dies, check 2nd integer in array, its 1... player 1 gets the point..

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