Rita Posted February 3, 2023 Share Posted February 3, 2023 Hey, I know it can be done using ClassPostConstruct, but I want to know if the same can be done inside your character's prefab. Using this line in console (and setting it to client), I'm able to hide the badge: ThePlayer.HUD.controls.status.heart:Hide() But I can't figure how to achieve the same inside my prefab. I've tried both common and master (who knows) post inits. Also, doing like: if not TheWorld.ismastersim then inst.HUD.controls.status.heart:Hide() end doesn't work either. No crashes, but no hidings tho. Thanks in advance! Link to comment https://forums.kleientertainment.com/forums/topic/145907-how-to-hide-a-badge-inside-a-characters-prefab/ Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now