I would like to make a Perk support DoorHealthVisibilityScaling code but for some reason does not work.
Someone help this to become operational this feature!
MyPerk:
MyVeterancyTypes:
We still need or what went wrong, it should be good
Someone help this to become operational this feature!
MyPerk:
Code:
class MyVetSupportSpec extends MyVeterancyTypes
abstract;
...
static function float DoorHealthVisibilityScaling(KFPlayerReplicationInfo KFPRI, Pawn P)
{
return 1.0 + 0.5 * KFPRI.ClientVeteranSkillLevel;
}
...
MyVeterancyTypes:
Code:
class MyVeterancyTypes extends SRVeterancyTypes
abstract;
...
static function float DoorHealthVisibilityScaling(KFPlayerReplicationInfo KFPRI, Pawn P)
{
return 1.0;
}
...
We still need or what went wrong, it should be good