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
  #1  
Old 09-21-2013, 09:32 PM
Starfire2001 Starfire2001 is offline
Unholy Nation
Starfire2001's Avatar
Join Date: Dec 2010
Location: The streets.
Posts: 156
Starfire2001 will become famous soon enough
GuiShowImgCtrl and horseimg

Trying to display the player riding a horse in a GUI.

This is what I've got. It doesn't work, no horse displays. Can't figure out why. Can anyone tell me how to make it work? Thanks.

PHP Code:
new GuiShowImgCtrl("PonyViewer_Image_Pony") {
  
290;
  
65;
  
width 100;
  
height 80;
  
offsetx 40;
  
offsety 25;
  
dir 2;
  
actor.horseimg "ride.png";      
  
actor.headimg player.head;
  
actor.bodyimg player.body;
  for (
i=0i<5i++)
    
actor.colors[i] = player.colors[i];
  
ani "ride";

__________________
-Ph8
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 11:47 PM.


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