Hello,
I am trying to put in my level a vehicle that is driven by the Ai, The ai is to drive the land vehicle around and attempt to hit the player with it.
I have tried to make a PlayerSpawnManager, But as soon as the characters spawn they jump right out, Except the Assault spaceship
I took the kDriverLeave from the Assault SpaceShip and slapped it into a new class that extended the Scorpion class
This hacks it so I can't leave the vehicle, but the bots don't seem to have any problems with leaving
Could someone help me keep them in?
I am trying to put in my level a vehicle that is driven by the Ai, The ai is to drive the land vehicle around and attempt to hit the player with it.
I have tried to make a PlayerSpawnManager, But as soon as the characters spawn they jump right out, Except the Assault spaceship
I took the kDriverLeave from the Assault SpaceShip and slapped it into a new class that extended the Scorpion class
Code:
function bool KDriverLeave( bool bForceLeave ) { if ( bForceLeave ) // Hack so you can't exit SpaceFighters with the "Use" Key. { if ( super.KDriverLeave( bForceLeave ) ) { if ( !bDeleteMe && !IsInState('Dying') ) Destroy(); } else return false; } else { TargetUnSet(); return false; } }
Could someone help me keep them in?
Comment