Cyde042 Posted August 9, 2015 Share Posted August 9, 2015 I've hit a wall. Can't figure out reason. The action is inserted in table on mouse hover, and the character does the animation, but the action isn't even being read for some reason, I added print("toss") to check. Use c_give("waterballoon") 1Water Baloons.zip Link to comment https://forums.kleientertainment.com/forums/topic/56925-action-function-wont-be-read/ Share on other sites More sharing options...
Mobbstar Posted August 9, 2015 Share Posted August 9, 2015 Did you try increasing the priority for the "toss" action? I'm not sure what else it could be. Link to comment https://forums.kleientertainment.com/forums/topic/56925-action-function-wont-be-read/#findComment-661533 Share on other sites More sharing options...
Cyde042 Posted August 9, 2015 Author Share Posted August 9, 2015 (edited) Did you try increasing the priority for the "toss" action? I'm not sure what else it could be. Now I did, and it still doesn't work, tried 1,2,4,10... nothing, tried lower priority too. The action parameters are from DST. Any other ideas? Edited August 9, 2015 by Cyde042 Link to comment https://forums.kleientertainment.com/forums/topic/56925-action-function-wont-be-read/#findComment-661535 Share on other sites More sharing options...
Cyde042 Posted August 10, 2015 Author Share Posted August 10, 2015 (edited) This is so weird. It was the 2nd parameters fault. It was negating it's own function. Always check your parameters! local TOSS = Action(0, nil, true, 8)(self, priority, instant, rmb, distance) Edited August 10, 2015 by Cyde042 Link to comment https://forums.kleientertainment.com/forums/topic/56925-action-function-wont-be-read/#findComment-661855 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