PDA

View Full Version : Playercontroller Fun : )



legacy-BJTkid
07-16-2005, 01:27 AM
Messing with trying to unpossess and possess a pawn while still having some controller in control of it. Came across something interesting.

sController = Spawn(class'PlayerController');
sController.destroy();

The above code results in a new bot entering the level. Just thought that was strange. I tried posessing with AIController, but the pawn doesn't seem to update animations quite right.. and it doesn't trigger the lifts.

-Brian

legacy-BJTkid
07-16-2005, 05:14 PM
Lol.. looking at this again today and I'm still confused.. anyone have any idea why it results in the creation of a new bot?

-Brian

legacy-^::B!G-A::
07-16-2005, 09:54 PM
lol i was expecting 'fun' brian cmon (PS Wats up?) thats not a bot controller, the bot controllers (Bot -> xBot) do not extend from PlayerController because the PC is for User input.

legacy-BJTkid
07-16-2005, 10:08 PM
Yes.. I know it's not a bot controller. That's why it's so confusing to me. When you destroy the playercontroller, it creates a new bot! : )

-Brian

legacy-^::B!G-A::
07-16-2005, 10:14 PM
i never noticed that, well since its instant, but i've been buzy on my weapon pack so i havent messed around too much lately