BaconStrips Posted April 2, 2016 Share Posted April 2, 2016 I want my character to be able to pick things with the pickable prefab without the animation (so instantly) with the "inst.components.pickable.quickpick" component. I already came up with a function to implement this, but I've run into some problems. It seems as though I might be putting the code into the wrong function in the [charactername].lua file. What function should I put it in? and do I need to assign the prefab to all the "pickable" things? If so, what function would I put that code in? I also have an "if" statement in my [charactername].lua that doesn't seem to be working. Can I put "if" statements right into the function like that and have the game still do what I coded it to do? or will the game not read it right? Link to comment https://forums.kleientertainment.com/forums/topic/66020-question-about-character-features/ 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