Jump to content

Recommended Posts

i having trouble detecting what do i need to do i made a weapons mod and it says scripts/mainfunctions.lua(124,1) cant find prefab apollon bow 

sorry for not mentioning earlier but that's the mod name but what is the problem

 

you must be trying to take prefab apollon bow in game but game says that there is no such prefab.

first reason is that you must be haven't declared it on the top of your modmain.lua in root folder of you mod (as RandomFace said).

And if you declared it there then you need to watch if there is such prefab made in scripts/prefabs/apollon_bow.lua - it must return prefab apollon_bow at the very end of file

 

Edited by Amalleus
Formatting

 

Ok thanks I'll look into it 

21 minutes ago, Amalleus said:

you must be trying to take prefab apollon bow in game but game says that there is no such prefab.

first reason is that you must be haven't declared it on the top of your modmain.lua in root folder of you mod (as RandomFace said).

And if you declared it there then you need to watch if there is such prefab made in scripts/prefabs/apollon_bow.lua - it must return prefab apollon_bow at the very end of file

 

 

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...