• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Request] Help with Mike myers mod
hey just im heading up a mike myers mod for blackops but i've run into a wall.
im trying to get to the first person that mike kills to swap team's getting them over is easy
self maps\mp\gametypes\_teams::changeTeam("allies");
but im not sure how to do it so its only the first person killed that change's ,the only way i could do it was make everyone killed change team so im asking for idea's
i thought maybe i'd do something like

self.done2 = 0;
watchfirst kill()
self waittill( "death" );
self maps\mp\gametypes\_teams::changeTeam("allies");
wait 0.5;
would that work?
      level.playerkilled = 0;

      self thread watchfirstkill();

self endon("disconnect");
level endon("player_was_killed");


      self waittill( "death" );
      self maps\mp\gametypes\_teams::changeTeam("allies");

      level notify("player_was_killed");
      level.playerkilled = 1;

my browser fucked up the first time i typed this -.-
[Image: b_560_95_1.png]
thanks man i'll have a look after work , i had a go but it didnt work Confused however my code did xD so im not sure whats goign on i need some tester's will get to it later
hmm found my issue lol im picking the random player at joined team and that is forceing 1 player for that team so no matter what i was trying it wouldnt have worked ,it works fine the other way around so i need a new way of picking the player for team

edit i've got the feeling i should be looking in to some of the zombie mods to do what i want

Edit 2 : yep IZM's SelectZombie() is just what im lookin for Smile

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mike Myers V2.9 IAmTicTac456 9 3,326 03-15-2013, 01:56
Last Post: pflaurie
  Mike Myers Mod pflaurie 4 2,200 03-01-2013, 19:03
Last Post: pflaurie
  mike myers v3 nickdiesel10 5 6,037 02-06-2013, 15:41
Last Post: Imsarxy
  Preview Michael Myers Mod math_eeu 2 1,610 01-18-2013, 11:48
Last Post: alvarogt95
  [Release] Michael Myers Ich1994 7 2,818 06-25-2012, 09:35
Last Post: d0h!
  [Request] Mike Myers pollarpart 17 4,200 06-18-2012, 16:16
Last Post: pollarpart
  [Release] Mike Myers V0.1 rotceh_dnih 12 5,620 11-03-2011, 22:53
Last Post: rotceh_dnih
Heart [Release] Michael Myers Mod iGhost 13 13,427 10-25-2011, 18:24
Last Post: _Smile_Man_
  Preview Mike Myer's rotceh_dnih 23 6,508 08-21-2011, 05:54
Last Post: rotceh_dnih
  Mike Myers iBanana 1 1,276 08-01-2011, 18:02
Last Post: Pyroh

Forum Jump:

Users browsing this thread: 1 Guest(s)