C++ Pawn Possession

Possesing a new pawn would require the following steps:

  • Cache a reference to your current pawn
  • Unposses your current pawn (Controller->UnPossess())
  • Spawn the new pawn using a different class
  • Posses the new pawn (Controller->Possess(NewPawn))
  • If all went well destroy the cached pawn, if not you could always re-posses the old one.

Cheers,
Moss

2 Likes