Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #16  
Old 12-02-2007, 06:19 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Quote:
Originally Posted by coreys View Post
Angel, no layers can't have decimals. I'm guessing in Graal's code the variable for layer is declared as int. Sure, you can set it as a decimal, but that doesn't mean it's gonna act as a decimal value. And you didn't correct me, you just failed to read my original post where I already did that.

And yes, levels have layers, but this doesn't pertain to my problem. -.-
LOOK AT WHAT YOU TYPED EXACTLY!!! You types "findImage()" that will not work. It is "findImg()" notice it is IMG not IMAGE. I've just tested this and it works.

PHP Code:
//#CLIENTSIDE
function onCreated()
{

  
showImg200"block.png"this.xthis.y);
  
showImg201,   "bar.png"this.xthis.y); 

  
findImg200).layer++;


__________________
Deep into the Darkness peering...

Last edited by Angel_Light; 12-02-2007 at 08:01 PM..
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:58 PM.


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