Jump to content

Recommended Posts

3 hours ago, CarlZalph said:

What are you trying to do?

data/scripts/components/temperature.lua

I'm as confused as you are, I'm sure I typed "Warmth" into the search and the rest of the post was a post I already made when my custom character wouldn't show up. I dunno how those two actions mashed together. But since you seem willing to help, can you help me make heads or tails about this? What I'm trying to do is give my character a starting custom weapon. The weapon's already done in a separate folder, so I think I screwed up when making it a part of the character mod.

20170120035230_1.jpg

Link to comment
Share on other sites

1 hour ago, icantevenname said:

What I'm trying to do is give my character a starting custom weapon. The weapon's already done in a separate folder, so I think I screwed up when making it a part of the character mod.

Having the code would be best for checking what's going on.

Though from the error the GiveItem function isn't being passed an item.

For instance:

someplayer.components.inventory:GiveItem(GLOBAL.SpawnPrefab("log"))

Link to comment
Share on other sites

18 hours ago, CarlZalph said:

Having the code would be best for checking what's going on.

Though from the error the GiveItem function isn't being passed an item.

For instance:

someplayer.components.inventory:GiveItem(GLOBAL.SpawnPrefab("log"))

I've been digging around the files, changing a few things, and now the weapon won't even show up. Should I give you the file before I make it worse?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...