![]() | |
| | #1 |
![]() Join Date: Apr 2007
Posts: 106
![]() | [System] Leaver & Kick System I'm quite proud of what I've done so I decided to post it! woooooo This is the leaver code. Of course you have to repeat all of these for every person. Feel free to take out the Kill Action if you don't want the person to lose his units (personally I do... for my map it is requred) Code: leaver1
Events
Player - Player 1 (Red) leaves the game
Conditions
Actions
Unit Group - Pick every unit in (Units owned by Player 1 (Red)) and do (Unit - Kill (Picked unit))
Game - Display to (All players) the text: ((Name of (Triggering player)) + is a stupid leaver!) This is my kick system. Its quite simple and I provide a simple message ![]() Code: kick2
Events
Player - Player 1 (Red) types a chat message containing -kick blue as An exact match
Conditions
Actions
Wait 2.00 seconds
Game - Defeat Player 2 (Blue) with the message: You have gone too far!
Game - Display to (All players) the text: ((Name of Player 2 (Blue)) + has been kicked from the game) I am still a newbie mapper ![]() |
| | |
| | #2 |
![]() Join Date: Sep 2006 Location: Denmark (GMT+1)
Posts: 2,173
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: [System] Leaver & Kick System I will sugust you to read something about loops. And you can do your leave trigger in one trigger insted of 12. But this is a good start. Keep it up! |
| | |
| | #3 |
![]() Join Date: Apr 2007
Posts: 106
![]() | Re: [System] Leaver & Kick System wha. Please enlighten me with this "single leave trigger" of yours here. oh and can you make it so that this trigger can't occur at the end of the game since everyone leaves (it makes a mess of things) |
| | |
| | #4 |
![]() Join Date: Sep 2006 Location: Denmark (GMT+1)
Posts: 2,173
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: [System] Leaver & Kick System All right an example: Code: Player Leaves
Events
Player - Player 1 (Red) leaves the game
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Conditions
Actions
Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Game - Display to (All players) the text: ((Name of (Triggering player)) + has left the game.) |
| | |
| | #5 |
![]() Join Date: Dec 2006
Posts: 2,995
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: [System] Leaver & Kick System I love the Triggering (something) and Picked (something). Makes triggering so much easier. |
| | |
| | #6 |
![]() Join Date: Apr 2007
Posts: 106
![]() | Re: [System] Leaver & Kick System Thanks Mr.Zero for the trigger ^^ |
| | |
| | #7 |
![]() Join Date: Dec 2006
Posts: 2,995
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: [System] Leaver & Kick System You can now easily get rid of 11 triggers or more if you did the same thing for other triggers. But you learn something new everyday right? Also you might want to fix your first post up to the new trigger you are making. |
| | |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| kick system | Unregistered | Ultimate Footmen | 16 | 08-18-2008 11:47 AM |
| [System] Item Stacking System | Mr. Zero | Spells and Systems | 1 | 12-01-2007 05:28 PM |
| [System] VoteKick | Mr. Zero | Recycling Bin | 7 | 06-16-2007 09:05 AM |
| [System] String Compare System 0.2 | MrApples | Spells and Systems | 6 | 06-13-2007 08:15 PM |