This is nifty!

Well I discovered a command that shows a gani/emote above the NPC’s head. The only problem is I can’t figure out how to change it to nothing and make it so only it’s only a local change.

// Graal2002 NPC by Stefan Knorr
if (created) {
  // Initialize the attributes
  showcharacter;
  setcharprop #3,head0.png;
  setcharprop #C0,orange;
  setcharprop #C1,white;
  setcharprop #C2,blue;
  setcharprop #C3,red;
  setcharprop #C4,black;
  setcharprop #2,shield1.gif;
  setcharprop #P(1),nd_quest-icon.gani;
  shieldpower = 1;
  dir = 2;
}
if(washit)  setcharprop #P(1),;

How did you just discover that? It’s a default NPC.

He’s talking about attr’s, not the NPC itself.

for local change you might could use isleader flag

Or use an image and a showlocal…

showlocal doesn’t exist

[QUOTE=Spooon;66824]showlocal doesn’t exist[/QUOTE]

It’s in the commands.rtf file. Is it not supported by the current build of gserver?

when it comes to gscript, just assume that everything that works offline will not work online. so just test everything online and get shit done faster.

or use a showimg at make the index greater then 250. OMG! CLIENTSIDE. No really?

[QUOTE=Traddles;66838]It’s in the commands.rtf file. Is it not supported by the current build of gserver?[/QUOTE]
He’s lieing. I use it all the time on Xialza…

showlocal;	 shows a hidden npc (only for the current player)

Nah what you would do is only hidelocal. You could make it with hidelocal only, If the player is not in the specified area it hides local so it doesnt affect others :stuck_out_tongue: tHINk ThINK THiNK

I use hidelocal; and showlocal; on Waffles. Seem to work fine for me.

Merged doublepost_______________

[QUOTE=tricxta;66860]or use a showimg at make the index greater then 250. OMG! CLIENTSIDE. No really?[/QUOTE]
Using an index of 200+ makes it only visible for you. Using an index <200 makes it visible for everybody. The more you know!