Nicodesu Posted November 12, 2023 Share Posted November 12, 2023 (edited) Is there a code bit to put in a custom character prefab to refuse lifting heavy stuff? Like statues or altars? Ty. *Maow* :3 Edited November 12, 2023 by Nicodesu Topic Changed Link to comment https://forums.kleientertainment.com/forums/topic/152357-do-you-even-lift/ Share on other sites More sharing options...
ClumsyPenny Posted November 12, 2023 Share Posted November 12, 2023 In your character master_postinit function: inst.components.inventory.noheavylifting = true Link to comment https://forums.kleientertainment.com/forums/topic/152357-do-you-even-lift/#findComment-1678952 Share on other sites More sharing options...
Nicodesu Posted November 13, 2023 Author Share Posted November 13, 2023 (edited) 18 hours ago, ClumsyPenny said: In your character master_postinit function: inst.components.inventory.noheavylifting = true Me have been looking for many character references and this is the only line me needed? It worked, but there's one slight problem... A message showed up as "Only_used_by_Wanda" when attempting to carry stuff. Could this be replace with character talk like "It's too heavy", or something? Thank you. *Maow* :3 This function heavy in the inventory in the game script could be used somehow? Or add the heavylifting from Wanda speech in the character speech? Edit Added the line from Wanda into speech worked fine, thanks again. *Maow* :3 Edited November 13, 2023 by Nicodesu Added else 1 Link to comment https://forums.kleientertainment.com/forums/topic/152357-do-you-even-lift/#findComment-1679136 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