Firstly I want to apologise. This seems like such a simple problem, but I can't find a solution. It really baffles me. I read here, BFAQ, Google and (of course) the manual.
I have created a room. I set a walkable area that runs right the way around the floor. I make sure the character starts in the middle of the area.
But the problem is, he can't walk. I threw in some interactions, and they were fine, but walk mode isn't working.
I have an extremely simple control system at the minute.
function on_mouse_click(int button) // called when a mouse button is clicked. button is either LEFT or RIGHT
Ã, {
Ã, if (IsGamePaused()==1) // Game is paused, so do nothing (ie. don't allow mouse click)
Ã, Ã, {
Ã, Ã, }
Ã, else if (button==LEFT)
Ã, Ã, {
Ã, Ã, ProcessClick(mouse.x,mouse.y,GetCursorMode());
Ã, Ã, }
Ã, else // right-click, so cycle cursor
Ã, Ã, {Ã, Ã,Â
Ã, Ã, SetNextCursorMode();
Ã, Ã, }
Ã, }
The default from the empty game, in fact.
I was confused, so I started a new game, but used the template with Roger et al, and it worked perfectly.
Now either I'm, doing something really stupid, or...actually thats the only option.
I made sure I had not confused Walkable Areas with regions or something like that. I changed the colour of the area, just in case, and a whole pile of other things.
So, what can I do? Should I start a new file and hope the fault goes away or something?
Once again I apologise if this is a stupidly easy thing.
Sounds interesting...
The only thing that I can think of right now is that the walk cursor is the problem. Make sure the Walk Cursor (0) is enabled and that you're using it.
Also you might want to check your character speed and everything.
If you still have the problem press the "~" key to find out what's happening in your script.
Go to general settings. Make sure 'automatically move character is walk mode' is checked. It probably isn't for some weird reason. Also, maybe you're using a different cursor mode which has somehow ended up with the walk picture. Oh, and make sure that guy is the player character.
Quote from: Goot on Sat 28/08/2004 06:44:06
Go to general settings. Make sure 'automatically move character is walk mode' is checked. It probably isn't for some weird reason. Also, maybe you're using a different cursor mode which has somehow ended up with the walk picture. Oh, and make sure that guy is the player character.
Goot, Correction, it was actually:
"DON'T automatically move character in walk mode"
and make sure that is NOT checked.
Thanks, He is the player character and it is the walk cursor, but I will try the general settings. I'm also going to specifically enable walk mode.
Then run a script to check if its actually on.
EDIT: It was the don't walk in walk mode thing. Thats a stupid option IMO. Well, stupid to be on by default.
Sorry to take up space here, I know CJ pays for these out of his own pocket.
Quote from: Mr Flibble on Fri 27/08/2004 23:33:01
I read here, BFAQ, Google and (of course) the manual.
when we say search for your answer, we don't mean google for it, just use the search function of the forums.
;D
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA!!!!!!!!! Uhmuhguh!!!!!!!! Uhmuhguh!!! Ah... Flibble, you're hilarious.
Also, I just checked the empty game template, and Don't automatically move character in Walk mode is NOT checked by default...
Uh...no comment. :-[