View Single Post
  #7  
Old 02-25-2003, 09:51 PM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Quote:
Originally posted by Kaimetsu
It is always fun to give some code illustrating the problem.
Put the npcs right in front of each other, make sure they'll be displayed on your screen when you press play/enter the level.

Example of bug:
if (created){
setimg block.png;
setcharprop #c,#v(screenx(x+3,y)) - #v(screeny(x,y));
}

Example of it working:
if (created) {
timeout=.05;
}
if (timeout){
setimg block.png;
setcharprop #c,#v(screenx(x+3,y)) - #v(screeny(x,y));
timeout=.05;
}
__________________

Reply With Quote