Not logged inOpenClonk Forum
Up Topic How do I make a clonk unable to jump

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to schoeggu
Hello, I want some clonks to be unable to jump, climb, dig, etc.
What I did was make a function that removes the specified entries from a clonks ActMap.

This works fine for climb, scale, dig etc.
But it gets weird when removing the jump action.
I guess that is because falling down is also done in with the jump action, if i understood the code correctly.
So when removing the jump action from the ActMap the clonk can just walk over the cliff and floats around in the air.

Is there a way to just prevent the user from initiating the jump?
And is there a way to lower the height of a jump?

Oh, and what is the difference between the -> and ->~ operators?

Thank you and regard
Joel

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill