Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-19-2011, 07:10 PM
AlexanderK AlexanderK is offline
Registered User
AlexanderK's Avatar
Join Date: Mar 2006
Location: Germany
Posts: 79
AlexanderK is on a distinguished road
Send a message via MSN to AlexanderK
Custom Nick Display, general showimg questions

What is the best way to do this?
Right now I'm using showimgs like that:
PHP Code:
//#CLIENTSIDE
function onCreated() setTimer(0.1);

function 
onTimeOut() {
  
temp.0;
  for (
plplayers) {
    
with(findimg(500 temp.i)) {
      
pl.1.5;
      
pl.3.5;
      
red blue green 1;
      
textshadow true;
      
shadowcolor = {000};

      if (
pl.clientr.invincible == true)
        
text "(" SPC pl.nick SPC ")";
      else
        
text pl.nick;

      
zoom alpha 0.7;
      
style "c";
    }
    
temp.i++;
  }
  
setTimer(0.05);

But it kind of drags behind the player character when he walks.
Is there a way to prevent that?
I've read here that showimgs can be attached to an owner, how does that work?
Also, I've read somewhere on here that there are indexes for showimgs that make them visible for all players, can I use this somehow?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:08 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.