PoLlama Forums  

Go Back   PoLlama Forums > WarCraft > Resources > Recycling Bin

Reply
 
LinkBack Thread Tools
Old 05-08-2007   #1
 
Join Date: Apr 2007
Posts: 106
CaptainSnake is an unknown quantity at this point
[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'm currently working on a "rebuke" and rank trigger on my map. Rank as in whoever has the most kills, suffered the most etc will become higher rank (or maybe this will base off a heros level). And the higher rank you are you can rebuke the lower ranks XD

I am still a newbie mapper
CaptainSnake is offline   Reply With Quote
Old 05-08-2007   #2
 
Mr. Zero's Avatar
 
Join Date: Sep 2006
Location: Denmark (GMT+1)
Posts: 2,173
Mr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond repute
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!

[Only registered and activated users can see links. ]
[Only registered and activated users can see links. ]
[Only registered and activated users can see links. ]
[Only registered and activated users can see links. ]

"In the end there is no greater motivation than revenge"
SO I HERD U LEIK MUDKIPZ?!
Mr. Zero is offline   Reply With Quote
Old 05-09-2007   #3
 
Join Date: Apr 2007
Posts: 106
CaptainSnake is an unknown quantity at this point
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)
CaptainSnake is offline   Reply With Quote
Old 05-09-2007   #4
 
Mr. Zero's Avatar
 
Join Date: Sep 2006
Location: Denmark (GMT+1)
Posts: 2,173
Mr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond repute
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.)

[Only registered and activated users can see links. ]
[Only registered and activated users can see links. ]
[Only registered and activated users can see links. ]
[Only registered and activated users can see links. ]

"In the end there is no greater motivation than revenge"
SO I HERD U LEIK MUDKIPZ?!
Mr. Zero is offline   Reply With Quote
Old 05-09-2007   #5
 
MrOrange's Avatar
 
Join Date: Dec 2006
Posts: 2,995
MrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond repute
Re: [System] Leaver & Kick System

I love the Triggering (something) and Picked (something). Makes triggering so much easier.
MrOrange is offline   Reply With Quote
Old 05-14-2007   #6
 
Join Date: Apr 2007
Posts: 106
CaptainSnake is an unknown quantity at this point
Re: [System] Leaver & Kick System

Thanks Mr.Zero for the trigger ^^
CaptainSnake is offline   Reply With Quote
Old 05-14-2007   #7
 
MrOrange's Avatar
 
Join Date: Dec 2006
Posts: 2,995
MrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond reputeMrOrange has a reputation beyond repute
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.
MrOrange is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


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


All times are GMT -5. The time now is 05:25 PM.

A friend of Wc3Happy
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165