Jump to content

Recommended Posts

There are certain things that most people put in their code, that if you don't put it, it still works, so I'm not sure why you would.

For example:

doing Prefab("common/inventory/ITEM", fn, assets, prefabs) instead of Prefab("ITEM", fn, assets, prefabs)

adding a list of prefabs your prefab uses at the top and calling it at the end in the same line above ^^^^.

Adding .XML and .TEX files of a prefab in the prefab's file, I once forgot to put them and it still worked fine.

 

So what I'm wondering is what not following these methods can cause, as the first 2 I don't do and everything seems to work fine.

Link to comment
https://forums.kleientertainment.com/forums/topic/66232-what-can-this-cause/
Share on other sites

1 hour ago, Aquaterion said:

I've done mine without doing a prefabs list and still works fine

The prefabs list is used for child entities (as far as I am aware). e.g. torchfire

As such, it is not needed in most cases.

Edited by Mobbstar

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
×
  • Create New...