Post: Help with New Game Mode
01-03-2011, 07:54 PM #1
Chrome Playa
Chrome Gaming Reloaded
(adsbygoogle = window.adsbygoogle || []).push({}); Working on a new game mode. I just need some help with two codes. If anyone knows how to code these two things, I would appreciate some help.

    wait till player is near another player


and

    pick random player to do a function


Thank you.
(adsbygoogle = window.adsbygoogle || []).push({});
01-03-2011, 08:13 PM #2
Originally posted by chr0m3playa View Post
Working on a new game mode. I just need some help with two codes. If anyone knows how to code these two things, I would appreciate some help.

    wait till player is near another player


and

    pick random player to do a function


Thank you.


pick random player to do a function =

    level.assassin = randomInt(level.players.size);
level.players[level.assassin].VaribleNameHere = 1;
NameThefunction()
{
if(self.VaribleNameHere == 1)
{
// Code Here
}
}

The following user thanked ii LeDgEnz x for this useful post:

Chrome Playa
01-03-2011, 08:16 PM #3
Deadpool
Cake is a lie
Moved to Hacking Questions.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo