HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Giving gold to remaing players when a player leaves.

02-12-2004, 04:53 PM#1
Lost_ally
I was wondering if someone could tell me the trigger for when a player leaves...giver their gold to remaing team members.Plz answer this asap.






Ok Thank you in advanse,
Lost_ally:dH:
02-12-2004, 10:57 PM#2
johnfn
alright, lemme see here (pulls out his trigger skills...) anyway, i think one statement can do it all:


Pick every player and do ( If (picked player equal to left player) then (do nothing) else do (if (Picked player is an ally of left player) then do (give ( total gold of(left player) divided by how many ally players there are) to picked player))))






WOW!!! that was A LOT longer then i expected! the parts in italic are the parts you need to fill in, or the parts i couldnt figure out ( i dont have WE open). anyway, tell me if that helps.