Thread: Shake Screen
View Single Post
  #8  
Old 03-15-2001, 07:10 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Blah.

Just brough me an a sprkly bright idea for spar rooms and a new NPC command:
NPC Code:

if (playerenters) {
setfocus x,y;
}


Blah, the screen would then center on the location defined by setfocus, in that case audience can get a good view on a spar so you could optionally code it like this:
NPC Code:

if (created||timeout) {
if (playerx in |x,x| && playery in |y,y|) {
setfocus x,y;
}
timeout = 0.05;
}

__________________

Reply With Quote