Setting walk-to points for objects.

Started by , Tue 24/10/2006 00:13:34

Previous topic - Next topic

Robbiedoo

Hi,

I've gone through the beginners tutorial and after the key object is made and the interactions are done with, it says that the key will be able to be picked up from anywhere in the room but it's okay for the time being. I've scrolled ahead and it doesn't return to the topic of setting a walk-to point for the key object before the player can pick it up.

I have looked around for quite a bit and can't seem to find the answer for this one... Can anyone let me know where I can find the info for this?

Thanks alot I'm such a NOOB and I hope I'm not upsetting anyone by posting this question...(I know there are alot of rules about what to check first, but I can't seem to find it!)

Babar

I don't think objects have walkto points. That is only for hotspots. You'd have to add it yourself in the sequence of events. If you are using the interaction editor, just select "Move character to" and select a point close to the object.
The ultimate Professional Amateur

Now, with his very own game: Alien Time Zone

Ashen

Babar's right - you can't find it because it doesn't exist. Objects (and Characters, for that matter) don't have Walk-To points in the same way Hotspots do.

You'll have to move the character there 'manually', with the Character.Walk script command, or the 'Character - Move character' Interaction Editor command. A forum search for 'walk to points for objects' should turn up a few previous topics, but I think they all suggest the same thing.

There are the Object.X/Y properties, but they're not quite the same thing - they refer to the object's placement in the room (bottom-left corner of the object's sprite). Might be of some use, though.
I know what you're thinking ... Don't think that.

Janik

Try the noblock module: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=26945

It has code for custom walk-to points for hotspots and characters.
Play pen and paper D&D? Then try DM Genie - software for Dungeons and Dragons!

SMF spam blocked by CleanTalk