AkaiNight Posted August 16, 2017 Share Posted August 16, 2017 First of all forgive my english it's not my main language and i'm not sure that i can explain correctly what i want. I'm making a custom weapon which switchable with other forms it must have a main form and with hotkeys it must change another.(I hope that it's understandable) all of weapons have different textures and different abilites (sword, bow, speat, scythe) and i don't know how to make all of them in 1 .lua i hope it is understandable Link to comment Share on other sites More sharing options...
ZupaleX Posted August 17, 2017 Share Posted August 17, 2017 Do you know how to make them in different lua? If yes does it matter so much to have them all in one file? Link to comment Share on other sites More sharing options...
AkaiNight Posted August 17, 2017 Author Share Posted August 17, 2017 41 minutes ago, ZupaleX said: Do you know how to make them in different lua? If yes does it matter so much to have them all in one file? is it possible to make a item can switch lua files? Link to comment Share on other sites More sharing options...
ZupaleX Posted August 18, 2017 Share Posted August 18, 2017 well you could just despawn the item you currently have, spawn the new one and give it to the player for instance. It depends how much different the items are. If you try to put in one files stuffs which are very different, that might start to become very messy. Link to comment Share on other sites More sharing options...
AkaiNight Posted August 18, 2017 Author Share Posted August 18, 2017 23 hours ago, ZupaleX said: well you could just despawn the item you currently have, spawn the new one and give it to the player for instance. It depends how much different the items are. If you try to put in one files stuffs which are very different, that might start to become very messy. Well i just have 18-20 items but i can try this. Link to comment Share on other sites More sharing options...
ZupaleX Posted August 18, 2017 Share Posted August 18, 2017 Putting 18-20 items in a single lua script if they are all different is a bad idea anyway. Link to comment 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