Quote
Originally posted by Albadar:
**Here is what I'm trying to do.
I want apeice of dirt to be displaded after a certain time. So I use a stamp in the local initialization of a map. Then I call a conditional to see if it time to put it down. I link this to a stamp control that places the dirt on the ground. All this works like it's supposed to.
Here's the problem. I have placed a NPC close to the dirt and with a range of 2 he walks under the dirt (and so can I). I don't want to be able to walk under the dirt but ON the dirt(NPC too). How do I make it do that?
**
NPCs and the playing character can walk under a stamp if their feet are higher on the screen than the lowest edge of the stamp. I found a solution for this in my plugin when I needed an NPC to walk across a plank. I created the NPC with a lot of white space below it and at the very bottom of the pct I put one pixel of color. This is out of view when playing the game. Because the NPC graphic's bottom edge is now below the stamp, the NPC walks on top of the plank rather than under it. I don't know if you can adapt that method to what you want to do, but it is one way to make it work. If you are using an animated NPC, you will have to have that dot of color on every frame of the animation but you can adjust the feet of the NPC to where they should normally be with the centering option. You might want to switch to this altered NPC only for the time you use your ground stamp. Post back if what I said doesn't make sense.
Edit: typo
------------------
My Doctor said I was having too much wine, women, and song - so I gave up singing because 2 out of 3 is not so bad.
The (url="http://"http://www.evula.org/rduck/")Kingdom of Garendall(/url) sectional map is easily printed from gif format pages.
(url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/damsels.sit?path=pog/addons&file;=damsels.sit")Damsels in Distress(/url) - A plugin for PoG.
(This message has been edited by Rubber Ducky (edited 06-30-2003).)