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 03-26-2006, 12:37 AM
Coolkid77742 Coolkid77742 is offline
Registered User
Join Date: Aug 2005
Posts: 79
Coolkid77742 is an unknown quantity at this point
Question Err Help with this script

Im trying to get my Item loaded on a server and will be like once this is fixed but why wont this work?
//#CLIENTSIDE
function onWeaponFired() {
this.active = !this.active;
if(this.active) {
replaceani("idle", "caenon-idle");
replaceani("walk", "caenon-walk2");
setani("swim", NULL);
} else {
replaceani("idle", "idle");
replaceani("walk", "walk");
setani("idle", NULL);
}
}

Its supposed to replace the players idle with Caenon-Idle and there walk with Caenon-Walk2 and when its unfired it goes back to normal?
__________________
]
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:23 PM.


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