Quote:
Originally Posted by Kyranki
I get the point. o_o
If so, would someone kindly care to explain what enablefeatures() is doing that makes it so the s button doesn't work then?
Edit: Ok, wait. I have a custom movement system so I feel like an *******. But it doesn't use disableweapons() anywhere. Would disabledefmovement() disable the sword as well? o_O
Edit 2: Yeah, disabledefmovement() is what was disabling the sword (tested it first ;o).
|
Read napo's post, enablefeatures keeps the declared bitmaps enabled.
For example:
enablefeatures( 1 );
Would keep the "M" button enabled for Graal's map viewer. Every other listed feature will not work.
If you want to add another feature append a "-" sign and then another bitflag.
enablefeatures( 1 - 2);
Would enable both the "M" button for the default map viewer, and the "P" to enable Graal's standard pause.
---
disabledefmovement(); disables the player's ability to move, not sure if it prevents the player from swinging or not.