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 08-27-2006, 02:16 AM
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
replaceani attr question

I'm trying to use replace ani with thr attrbutes but I have no success

heres what I have

PHP Code:
new GuiRadioCtrl(Equip_Scroll_1_Button) {
useownprofile true;
profile       "GuiBlueRadioProfile";
position      "16 35";
};

new 
GuiButtonCtrl(Equip_Equip) {
  
profile  "GuiBlueButtonProfile";
  
position "250 95";
  
extent   "40 25";
  
text     "Equip";
};

function 
Equip_Equip.onAction() {
  
setani("niromia_idle",client.pshield,client.psword);
  
replaceani("niromia_idle",client.pshield,client.psword);
  
replaceani("niromia_walk",client.pshield,client.psword);
}

function 
Equip_Scroll_1_Button.onAction() {
  
client.pshield "omega_p_shield.png";
  
client.psword "omega_crystalis_sword.png";

__________________
Deep into the Darkness peering...
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 02:11 PM.


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