cosmicdreams Posted December 9, 2017 Share Posted December 9, 2017 i keep getting this lua error message everytime i launch my game i read everything and the only thing i understood was the onbecamehuman segment i tried to change it up to maybe make it work but it was in vain im extremely new to all this coding so im bad at understanding all this, could someone help me find this problem? here's a link to my character file: https://www.dropbox.com/sh/gvky4zzepf7g7k7/AACgSwa-CcHjArfgsATChcD2a?dl=0 Link to comment Share on other sites More sharing options...
verdago7 Posted December 9, 2017 Share Posted December 9, 2017 If you're wanting a speed boost for others reviving you, then we can look into this more. If not, it's really easy. Delete lines 23-27. They are an optional feature that most don't use and it doesn't really add much of a function anyway. But if you do want the boost, let me know and we'll figure that out. Link to comment Share on other sites More sharing options...
cosmicdreams Posted December 10, 2017 Author Share Posted December 10, 2017 Just now, verdago7 said: If you're wanting a speed boost for others reviving you, then we can look into this more. If not, it's really easy. Delete lines 23-27. They are an optional feature that most don't use and it doesn't really add much of a function anyway. But if you do want the boost, let me know and we'll figure that out. i tried it yet it happened again but different do i have to delete 21-26 now or Link to comment Share on other sites More sharing options...
K1NGT1GER609 Posted December 10, 2017 Share Posted December 10, 2017 (edited) Looks like you trying to get rid of the onbecamehuman function but if you do that you'll have to get rid of the code that use that so in onload (lines 25) delete them. Edited December 10, 2017 by K1NGT1GER609 not line 26 Link to comment Share on other sites More sharing options...
cosmicdreams Posted December 10, 2017 Author Share Posted December 10, 2017 (edited) Just now, K1NGT1GER609 said: Looks like you trying to get rid of the onbecamehuman function but if you do that you'll have to get rid of the code that use that so in onload (lines 25) delete them. do i also delete this code? if inst:HasTag("playerghost") then onbecameghost(inst) else onbecamehuman(inst) end Edited December 10, 2017 by TotalTrashDream Link to comment Share on other sites More sharing options...
K1NGT1GER609 Posted December 10, 2017 Share Posted December 10, 2017 (edited) only onbecamehuman, onbecameghost is another function. which is line 31 Edited December 10, 2017 by K1NGT1GER609 Link to comment Share on other sites More sharing options...
cosmicdreams Posted December 10, 2017 Author Share Posted December 10, 2017 (edited) Just now, K1NGT1GER609 said: only onbecamehuman, onbecameghost is another function. so do i make it this if inst:HasTag("playerghost") then onbecameghost(inst) end Edited December 10, 2017 by TotalTrashDream Link to comment Share on other sites More sharing options...
K1NGT1GER609 Posted December 10, 2017 Share Posted December 10, 2017 Yeah that's about right Link to comment Share on other sites More sharing options...
cosmicdreams Posted December 10, 2017 Author Share Posted December 10, 2017 yes finally it's working now thank u so much for the help! 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