Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   wtf! (https://forums.graalonline.com/forums/showthread.php?t=21665)

lordhelmut 01-21-2002 10:36 AM

wtf!
 
why doesnt disabledefmovement; work anymore?

Python523 01-21-2002 10:44 AM

Re: wtf!
 
Quote:

Originally posted by lordhelmut
why doesnt disabledefmovement; work anymore?
Are you sure the script is ok and that you spelled disabledefmovement? Post the script if you can, maybe its a script error, not the command, it works fine for me

BocoC 01-21-2002 10:49 AM

It works... But not on Serverside NPC Server.

Shard_IceFire 01-21-2002 08:53 PM

Hmm...ever try making it //#CLIENTSIDE?

TDK_RC6 01-21-2002 09:05 PM

i have used disabledefmovement successfully online, well after //#CLIENTSIDE that is

royce 01-22-2002 09:37 AM

since lord helmut owns babylon and its a free server then I think he is talking about it being on there and there is not a npc server so we do not have to worry about that. disabledefmovement should work. like python said, maybe its something with the script.

Saga2001 01-23-2002 12:13 AM

I am pretty sure its a scripting error, also if you check the script, and it returns no errors, than you probab;y have the disabledefmovement in some brackets that aren't getting executed.

lordhelmut 01-23-2002 01:16 AM

if (weaponfired) {
setani phnarmer1,;
disabledefmovement;
timeout=.05;
}

if (timeout) {
if (keydown(0)&&!keydown(5)) {
play phnarmer1.wav;
sleep .1;
}
if (keydown(1)&&!keydown(5)) {
play phnarmer2.wav;
sleep .1;
}
if (keydown(2)&&!keydown(5)) {
play phnarmer3.wav;
sleep .1;
}
if (keydown(3)&&!keydown(5)) {
play phnarmer4.wav;
sleep .1;
}
if (keydown(0)&&keydown(5)) {
play phnarmer5.wav;
sleep .1;
}
if (keydown(1)&&keydown(5)) {
play phnarmer6.wav;
sleep .1;
}
if (keydown(2)&&keydown(5)) {
play phnarmer7.wav;
sleep .1;
}
if (keydown(3)&&keydown(5)) {
play phnarmer8.wav;
sleep .1;
}

if(mp<100){
mp++;
}

if (keydown(6)) {enabledefmovement;setani idle,;}
if (!keydown(6)) {timeout=.05;}
}

I found out why it wont disabledefmovement. The way the Kuro was scripted it made disabledefmovement not work but we fixed that =D The one other problem is it wont play sound =/ Can anyone see why not? I uploaded the sounds to the main directory

aesquivel 01-23-2002 09:19 PM

it looks fine to meh the only thing could not make it werk is if the sounds arent up loaded try uploading them again that might help


All times are GMT +2. The time now is 06:15 PM.

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