ScreenEdgeBuffer

Prototype
ScreenEdgeBuffer,NPC ID,UDLR Border,BUFFER SPACE,-,Active time,-

Description
Keeps NPCs from leaving the screen. NPC ID is which type of NPC will be effected. UDLR (Up Down Left Right) is which border of the screen the npc won't be able to pass.

0 = Top 1 = Bottom 2 = Left 3 = Right

BUFFER SPACE is how close the NPCs can get to the edge before being stopped.