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 04-22-2002, 04:03 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
Torch NPC -Help?-

I'm trying to make a simple Torch for a quest for a server, but when I fire the weapon it goes wierd.When you walk, it is and idle gani without the light effect, when its idle, its a walking gani with light.Plz help meh I INDENT FOR YOU)
NPC Code:

if (weaponfired) {
if (client.torch==0) {
client.torch=1;
timeout=.5;
}
else client.torch=0;
}
if (timeout) {
if (client.torch==1) {
if (strcontains(#m,idle)) {
setani torch_idle,torch2.png;
}
if (strcontains(#m,walk)) {
setani torch_walk,torch2.png;
}
}
timeout=0.05;
}

__________________
maximus_asinus
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 03:13 AM.


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