===========================
Blocker CON v1.0
by Joe Barta jbarta@
===========================

This little tiny CON file modification solved a big problem for
me... How to keep an actor from walking off a ledge higher than X
without using stayput. Stayput is out because, except for falling
off a cliff, the actor needs to be able to wander freely. Blocked
walls is out, because that would restrict player movement also and
I didn't want that.

I posted the question to alt.games.duke3d a couple times to no
avail. I posted the question to the Duke editing forum at
Dukeworld... nothing. I knew there was a solution SOMEWHERE.

Well, the solution came. And boy is it simple....

I made an actor - BLOCKER. It's just some red bars. In BUILD it's
easy to see. I put it anywhere I don't want the monsters to pass.
For my purposes, I'll put it on the edge of all high ledges. Then I
add the following lines to GAME.CON...

define BLOCKER 3585     // This defines the tile number.
actor BLOCKER           // Define an actor.
   cstat 32785          // Makes the actor blocking, invisible and
                        // non-rotating.
   ifpdistl 1024        // If the player (Duke) is within a
                        // certain distance...
   {
      cstat  32784      // ...unblock the blocker.
   }
enda                    // End of actor definition.

I made this little hack using Duke Atomic. It should also work for
version 1.3. The only thing is, you will have to use an existing
actor.

Anyhow, thanks to all that posted suggestions.

- Joe Barta