How do I make an object that can be not walked through - like an openable door?
just take out the walkable areas that you don't want 8)
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.
RemoveWalkableArea() ;)
~Cheers
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?
RemoveWalkAbleArea? But how in the hell am I able to walk there when door is opened again?
Remove means disable in that case.
RestoreWalkableArea() it's in see also under RemoveWalkableArea btw
~Cheers
> 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 :)