Blackbando Posted May 20, 2015 Share Posted May 20, 2015 So, I'm attempting at making a wizard-esque character, and want to make him have a Fire Staff, but different texture, name, not set things on fire and only do damage, and have infinite durability. I'm not too sure on 2 things. 1. How do I make the character spawn with the item? Last time I tried it with a hat (Different character that I deleted the files for after it failed, can't show what I did), the game crashed.2. How do I set durability for something to be infinite? Link to comment Share on other sites More sharing options...
Blueberrys Posted May 20, 2015 Share Posted May 20, 2015 @Blackbando 1.local prefabs = { "prefab_name",}-- In the create fn, where inst is the player instanceinst.components.inventory:GuaranteeItems(prefabs)- 2. Just don't add the finiteuses component? I think that should suffice, considering you have it set up properly. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.