Hi there..
I started coding today and found the first problem with the classes. I wanted to ask, which perk is used to give each perk a replacement weapon, for example another kind of knife or a new high power welder. How do i ask which perk is used?
Hope you could help me, because I'm completly new at the unreal engine, I only worked with the source engine so far, but i want to do something for my loved Killing Floor....
I started coding today and found the first problem with the classes. I wanted to ask, which perk is used to give each perk a replacement weapon, for example another kind of knife or a new high power welder. How do i ask which perk is used?
Code:
function ModifyPlayer(Pawn Other)
{
if (KFPlayerController.NewPerkClass == class'KFVetCommando')
{
Other.CreateInventory("KFMod.Bat");
Super.ModifyPlayer(Other);
}
}
Hope you could help me, because I'm completly new at the unreal engine, I only worked with the source engine so far, but i want to do something for my loved Killing Floor....