Announcement

Collapse
No announcement yet.

Controller list

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Controller list

    Is there a controller list or array that i can access. I want to be able to randomly choose a controller (player in this case) and assign him a different role than all the other players. It's kind of like the bottom feeder in the mutant mod except that i want a randomly choosen person to be the bottom feeder

    Thanks

    #2
    Yes, I believe it's called ControllerList...

    This code is courtesy of Mr. Evi1...
    Code:
    local Controller C;
    
    for(C = Level.ControllerList; C != None && C.Pawn != None; C = C.NextController)
    {
    	//Do stuff with C.Pawn here.
    }

    Comment


      #3
      Well that was easy enough lol. As I'm sure you can tell this is my first real dive into UnrealScript.

      Thanks

      Comment

      Working...
      X