View Single Post
  #18  
Old 08-02-2009, 08:43 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Quote:
Originally Posted by fowlplay4 View Post
Have bunch of these in your NPCs, so they aren't visible.

PHP Code:
//#CLIENTSIDE
function onPlayerEnters() {
  if (
client.questprogress >= 2hide();
  else 
show();

Then you can hide players with some attr usage depending on quest progress as well. I.e: player.alpha = 0;
player.alpha could get a little weird since they're still actually there, just invisible, and chat still displays. If you have a unique nick system that if you mouse-over players it displays their nickname, it could look weird, make sure that the nick system's alpha replicates their player alpha so it's hidden as well. Also try making the player profile (right click) not display if their alpha is 0 or whatever you use.
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote