Cannot walk on defined walkable area

Started by Bhup, Tue 19/04/2005 21:01:30

Previous topic - Next topic

Bhup

I have 2 similar problems.

1. I have created a walkable area in my boat.Ã,  But the character does not walk in the area I have defined as a walkable are. It worked a while back but does not appear to work anymore.

2. When I am out of the boat and on the beach and I go to room 2, then, when I come back out out onto the beach again(room1) the character can no longer walk on the beach and I have defined a walkable are on the beach. Again this worked before but does not appear to work at the moment.

I am running version 2.61.490
Could somebody please help.
Thanks:)
Bhup

stuh505

Make sure that when you are transitioning rooms, you are transporting the character to a location that is on the same walkable area, or a contiguous walkable area.

Bhup

Do you mean the walkable area has to be the same colour. Say blue in all rooms?
Bhup

jetxl

#3
1. make sure the character is standing on a walkable area by pressing [ctrl+A] in the game.
2. did you (accedently) turned off the walkable area in the local or global script? (RemoveWalkableArea (int areanum))

Quote from: Bhup on Wed 20/04/2005 11:54:13
Do you mean the walkable area has to be the same colour. Say blue in all rooms?
Bhup
no.

Bhup

jetxl.
I have tried the control A and the hotpots appear. Is this an indication that they haven't been turned off?
Also I looked in my global script and local script but could not find any reference to a walkable area.  What am I supposed to be looking for.

Also the screen in the first room  was animating and I deleted the other frames. just in case this was causing the problem but it does not seem to have any effect.  When I use the hand on the objects I have programmed the games so that the character walks over to the object.  So this works fine but when I put all the objects in inventory I still can't walk around the  boat.  Also when I went on the beach I still could not walk around the beach.  What code controls the walk cursor could we access it at all without going too lowlevel?
Thanks so far  for your advice. :)
Bhup

stuh505

#5
QuoteIs this an indication that they haven't been turned off?

If you didn't intentionally program them to turn off and you didn't use anyone elses code, then they're not off!

QuoteWhat code controls the walk cursor could we access it at all without going too lowlevel?

Nope that's all pretty hidden

Show us a screenshot of your walkable areas

jetxl

Hotspots? You mean walkable areas, right? If not, then you mixed up hotspots and walkable areas in the editor, and that would be the problem.


I asumed that the character is completely stuck and doesn't walk when you click on the screen with the walk cursor. Correct?
Did you make sure that the coordinates for NewRoomEx are on a walkable area?

Bhup

Your absolutely right jetxl! I did mean walkable area.  ;D
My problem is in the very first room I go in (i.e) standing in a boat in the sea I am unable top walk around in the boat even though I have defined a walkable area.  :P

jetxl

So you CAN walk but NOT in the boat.
Maybe the walkable area path you drew is too thin.

Pumaman

Did you check what jetxl said, ie "Did you make sure that the coordinates for NewRoomEx are on a walkable area?"

Please clarify exactly what your problem is. Can you walk around in some rooms but not others, or can you never walk? If you press Ctrl+A, are the character's feet on one of the walkable areas that show up?

Bhup

#10
Quote from: Pumaman on Wed 20/04/2005 22:23:45
Did you check what jetxl said, ie "Did you make sure that the coordinates for NewRoomEx are on a walkable area?"

Please clarify exactly what your problem is. Can you walk around in some rooms but not others, or can you never walk? If you press Ctrl+A, are the character's feet on one of the walkable areas that show up?

Thanks for replying. I am not sure why you want me to check how NewRoomEx is set, since I am having trouble in room 1 where I do not set where the character is standing via NewRoomEx.Ã,  Instead I set these values in the 'character' section of AGS. Nevertheless I did a search in the global script and found NewRoomEX(6,258,189). I changed the values but the character still would not walk.Ã, 

My character is in the boat and only walks when the hand icon is clicked on an object in the boat as I have programmed him to walk towards the object before picking it up.Ã,  He does not walk when I randomly click with the walk icon. When the character is on the beach (which is also in room 1) he still cannot walk anywhere (whilst clicking with the walk icon) where I have defined a walkable area.Ã,  The same goes for when he is in any other room.Ã,  He cannot walk on a defined walkable area.Ã,  He was able to walk before but for some reason the character does not respond to the walk icon all of a sudden.
Your help would be much appreciated.Ã,  :)
Bhup

Bhup

#11
Yelp!
Thanks everyone for all your help and sorry for wasting your time but I have discovered the problem.Ã,  I checked the box
"Don't automatically move character in walk mode."Ã,  in General settings. I must have set it accidentally while pottering around.
Sorry.
Thanks again.
Bhup

SMF spam blocked by CleanTalk