• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Search results

  1. W

    Code Accessing the Pawn that belongs to a Controller?

    I'm trying to use Pawn's GiveWeapon method, but I'm starting with a PlayerController. Surely there's some way to make Controller tell me what Pawn it's controlling? Nonfunctional code snippet follows: local Controller C; for ( C = Level.ControllerList; C!=None; C=C.nextController)...
  2. W

    Code Is subclassing required to change alt-fire behavior?

    I'm trying to change the alt-fire behavior on the 9mm and dualies. Since both weapons use SingleALTFire as their alt-fire class, it seems like the most practical course would be to simply replace SingleALTFire (and thus not touch the weapons at all) rather than subclassing the weapons themselves...