UngratefulDead Posted November 13, 2015 Share Posted November 13, 2015 Is there a way to code an item to provide a temporary boost to a stat when consumed? Specifically, I'm trying to make an item providing a temporary boost to sprinting, then after the boost goes away would exhaust the player. I think I can do the latter, but I have no idea on the former. Link to comment Share on other sites More sharing options...
ethanwdp Posted November 13, 2015 Share Posted November 13, 2015 AFAIK the sprint speed isn't changeable via lua. You could provide a boost to the strength skill as a proxy, but that would also give the player things like more carryweight and stronger attacks. 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