pilipili Posted July 12, 2020 Share Posted July 12, 2020 I need to prevent players from raising or lowering the sail. ACTIONS.LOWER_SAIL_BOOST.fn = function(act) return false end This does not work. How can i do this? Link to comment https://forums.kleientertainment.com/forums/topic/120010-need-help-please/ Share on other sites More sharing options...
rawii22 Posted July 12, 2020 Share Posted July 12, 2020 Did you try ACTIONS.LOWER_SAIL.fn ? Link to comment https://forums.kleientertainment.com/forums/topic/120010-need-help-please/#findComment-1353188 Share on other sites More sharing options...
pilipili Posted July 12, 2020 Author Share Posted July 12, 2020 yes, it doesn't work either Link to comment https://forums.kleientertainment.com/forums/topic/120010-need-help-please/#findComment-1353189 Share on other sites More sharing options...
rawii22 Posted July 13, 2020 Share Posted July 13, 2020 Well, I guess there's a few more things we still don't know, assuming it's in a modmain, did you try putting a GLOBAL. before ACTIONS? I don't know what you've tried so far so I don't wanna tell you something you already know... Link to comment https://forums.kleientertainment.com/forums/topic/120010-need-help-please/#findComment-1353281 Share on other sites More sharing options...
pilipili Posted July 13, 2020 Author Share Posted July 13, 2020 (edited) GLOBAL.ACTIONS.[any action name].fn = function(act) return falseend It works for any other action, but for SAIL this not works Edited July 13, 2020 by pilipili Link to comment https://forums.kleientertainment.com/forums/topic/120010-need-help-please/#findComment-1353303 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