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 01-18-2011, 07:50 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
NPC only shows after "update level"

I use this to display windows:
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
this.windowtype="1b";
  
this.join("window");

this is the class:
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
this.setShape(13232);
  
showimg(200"sorna_window"@this.windowtype@"_glass.png"this.xthis.y);
  
changeimgcolors(2001110.7);
  
changeimgvis(2000);
  
showimg(201"sorna_window"@this.windowtype@"_frame.png"this.xthis.y);
  
changeimgvis(2011);

When I connect to the server, the window doesn't show. It only does after I've used the update level command. I have no idea at all why this is, especially because I display the trees in the exact same way and I have no problem with them.
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 11:24 AM.


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