View Single Post
  #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