View Single Post
  #25  
Old 12-05-2007, 04:10 AM
Rapidwolve24 Rapidwolve24 is offline
North*
Join Date: Oct 2007
Location: Massachusetts
Posts: 178
Rapidwolve24 is on a distinguished road
Send a message via AIM to Rapidwolve24 Send a message via MSN to Rapidwolve24
Quote:
Originally Posted by Kyranki View Post
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.
Reply With Quote