Open oh-yes-0-fps opened 2 years ago
cls = unrealsdk.FindClass('DamageSource_Bullet_C') child_cls = unrealsdk.FindClass('DamageSource_Bullet_Sniper_C') unrealsdk.Log(cls) unrealsdk.Log(child_cls.SuperField) if cls == child_cls.SuperField: unrealsdk.Log('True') #Doesn't log True
You can get around this by using .Name while comparing but it just seems like an equal should work
You can get around this by using .Name while comparing but it just seems like an equal should work