Simple question about objects

Started by InCreator, Wed 08/10/2003 18:03:27

Previous topic - Next topic

InCreator

How do I make an object that can be not walked through - like an openable door?

paddy irishman

just take out the walkable areas that you don't want  8)

InCreator

No no no. I have a long walkable area and at some point door blocks it. How to make so that if door is closed player cannot walk through it? I didn't find any DisableWalkAbleArea command. otherwise, I'd make a little walkable area just under the door.

Scorpiorus


SSH

Actually, it would be handy if there was a bit more consistency across function names:

Here's how totrun off various things:

RemoveWalkAbleArea
ObjectOff
DisableHotspot
character[X}.room = -1
LoseInventory
GUIOff
StopMusic
RemoveOverlay
DisableRegion
SetWalkBehindBase(X, 0)
SetDialogOption(X, Y, 0);

Can't they all be Disable or all Remove or all Off?
Maybe CJ could set up some default #defines to make a more consistent API?
12

InCreator

RemoveWalkAbleArea? But how in the hell am I able to walk there when door is opened again?

Scorpiorus

Remove means disable in that case.

RestoreWalkableArea() it's in see also under RemoveWalkableArea btw

~Cheers

Kweepa

> Can't they all be Disable or all Remove or all Off?

If it was that easy, you wouldn't feel any sense of achievement at learning the API!

> Maybe CJ could set up some default #defines to make a more consistent API?

Oh, and make deleting everything in the editor consistent too :)
Still waiting for Purity of the Surf II

SMF spam blocked by CleanTalk