To Make This One Mui
- set Killer[player Number Of (owner Of (killing Unit))] = (killing Unit)
- Set Dying[player Number Of (owner Of (killing Unit))] = (triggering Unit)
to make this one mui
- Set killer[Player number of (Owner of (Killing unit))] = (Killing unit)
- Set Dying[Player number of (Owner of (Killing unit))] = (Triggering unit)
easy
well if u have a map with alots of units, then dont display a message for each unit u kill
- Trigger
- Events
- Unit - A unit Dies
- Conditions
- Actions
- Custom script: local unit udg_killer
- Custom script: local unit udg_Dieing
- Set killer = (Killing unit)
- Set Dieing = (Triggering unit)
- Set Score[(Player number of (Owner of killer))] = (Score[(Player number of (Owner of killer))] + 1)
- Game - Display to (All players) the text: ((Name of (Owner of killer)) + ( Pwned + (Name of (Owner of Dieing))))
- Set killer = No Unit
- Set Dieing = No Unit
Originally Posted by Ciebron
easy
well if u have a map with alots of units, then dont display a message for each unit u kill
- Trigger
- Events
- Unit - A unit Dies
- Conditions
- Actions
- Custom script: local unit udg_killer
- Custom script: local unit udg_Dieing
- Set killer = (Killing unit)
- Set Dieing = (Triggering unit)
- Set Score[(Player number of (Owner of killer))] = (Score[(Player number of (Owner of killer))] + 1)
- Game - Display to (All players) the text: ((Name of (Owner of killer)) + ( Pwned + (Name of (Owner of Dieing))))
- Set killer = No Unit
- Set Dieing = No Unit
Learn when and how to use the local trick, or, better yet, learn JASS.