Empty space OR wall function missing?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: Empty space OR wall function missing?

Post by Neikun »

His todo list is longer than most people's christmas lists.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
Decayer
Posts: 65
Joined: Sat Oct 13, 2012 3:19 pm

Re: Empty space OR wall function missing?

Post by Decayer »

Some way to check the solidity / passability of the door / wall in a certain direction would be nice too. Example:

Code: Select all

function whatever(level, x, y, facing)
    return "open" --open or no wall/door: can pass through, can grab items from other side
    return "sparse" --closed grating/portcullis: can't pass through, can grab items from other side
    return "solid" --closed solid door or wall: can only 'har de har' softly...
end
Post Reply