Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-19-2008, 03:56 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
new GuiShowImgCtrl()

Quote:
playerlook = bool;

should show my player right, it doesnt!!!!

http://wiki.graal.net/index.php/Crea...lient/TShowImg

found a fix though!!!
PHP Code:
              for (temp.ji)
                {
                  if (
j.type() == 3)
                    {
                      for (
temp.0temp.j[1]; temp.k++)
                        
actor.(j[0][k]) = playero.(j)[k];
                      continue;
                    } else {
                      
temp.data playero.("img");
                      if (
data != null)
                         
actor.(@ (!= "shield""img":"")) = data;
                    }
                } 

Last edited by [email protected]; 03-19-2008 at 04:12 PM..
Reply With Quote
  #2  
Old 03-19-2008, 04:20 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
an example:

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
with(findimg(200)) {
    
playero.x;
    
playero.y;
    
playerlook true;
    
ani playero.ani;
    
dir playero.dir;
    
layer 2;
  } 
of a way playerlook can be used

Well, GuiShowImgCtrl should inheritance all variables from TShowImg though.. weird
__________________
Reply With Quote
  #3  
Old 03-19-2008, 04:22 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
i am using it inside a gui [GuiShowImgCtrl]
Reply With Quote
  #4  
Old 03-19-2008, 04:50 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
GuiShowImgCtrl is actually a container for a TShowImg which can be accessed from the GuiShowImgCtrl.showimg object.

So try GuiShowImgCtrl.showimg.playerlook = true;

The only reason most of the other variables work without needing to type .showimg is because Stefan added shortcuts for simplicity's sake.
__________________
Do it with a DON!
Reply With Quote
  #5  
Old 03-19-2008, 04:56 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
[GuiShowImgCtrl].showimg.playerlook?
Reply With Quote
  #6  
Old 03-19-2008, 08:08 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by [email protected] View Post
[GuiShowImgCtrl].showimg.playerlook?
Yes basically. TheObject.showimg.playerlook = true;
http://wiki.graal.net/index.php/Crea...GuiShowImgCtrl
__________________
Reply With Quote
Reply


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 05:30 AM.


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