HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

random player pick question

11-19-2002, 03:14 AM#1
SkylineGT[FB]
im making a map that involvs random player pick like in all of the murders that i know (mansion, graveyard) that pick a random player to be the killer. how do u make that trigger?
11-19-2002, 03:45 AM#2
MicrosoftXP
wow i thought this was easy at first.. just store a rand # to a variable and use it as a player index.

Oh wait this will work.. :
set variable(int) = random integer between 1 and (max # of players)
if player slot status of Player[variable(int)] is not equal to is playing then run this trigger else do nothing

BAM!
11-20-2002, 02:10 AM#3
SkylineGT[FB]
ok kool thx