Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   help dance script (https://forums.graalonline.com/forums/showthread.php?t=23853)

Bortlad 02-16-2002 06:23 AM

help dance script
 
i need a dance script asap!!!!
and a jail script asap !!!!
help me i dont know what i am doing at all

Dustey 02-16-2002 06:34 AM

might wanna read those guidlines again
Quote:

Guidelines:
Don't post here just asking for scripts; people will most likely just tell you to learn to script and do it yourself. The posters here aren't some universal resource for scripting shortcuts.
to some this all up.... learn to script:rolleyes:

Dustey 02-16-2002 06:46 AM

what u need thyis for a server ur making? oooooohhhhhhhhh yah 100 posts

Goboom 02-16-2002 07:47 AM

Um....he shouldnt check the guidelines....he said...
help me i dont know what i am doing at all which he is asking for help.....
Use this....for the dance though if you want somehting sketchy...
NPC Code:

if (playerenters && !isweapon){
toweapons Dance;}
if (weaponfired){
timeout=0.05;}
if (timeout){
playersprite=random(0,40);
timeout=0.05;}
if (strequals(#c,Stop)){
timeout=0;}


as for the jail script...i dont get what you be talkn about

Goboom 02-16-2002 08:16 AM

I know ;) but its just something simple for him to work with...

02-16-2002 08:36 AM

Here is a simple one...

NPC Code:

dir=int(random(0,4));
x+=vecx(dir);
y+=vecy(dir);
timeout=.05;
if (timeout) {
sprite=int(random(14,38));
x+=vecx(sprite);
y+=vecy(sprite);
timeout=.05;
}


Dustey 02-16-2002 09:24 AM

Quote:

Originally posted by Goboom
[B]Um....he shouldnt check the guidelines....he said...
help me i dont know what i am doing at all
well i dontt mind helping people but that was a little rude cus he is like

Quote:

Originally posted by Bortlad
i need a dance script asap!!!!
and a jail script asap !!!!
help me i dont know what i am doing at all
he should have asked how would i or somethin cus to me *i donno what u think* that sorta sounds like hes demanding a script. As for the jailing script is it for like a server so a GP or RC can say 'jail acc' ?? Remeber asking politly in the realworld gets u everything but in.... GRAAL U GET NOTHING :confused:

wicky111 02-19-2002 03:00 AM

Jail script is easy
Here it is:
//NPC Made by 2GOOD4U
if (playerchats && startswith(jail,#c)){
setstring server.jail,#e(4,-1,#c);
setplayerprop #c,;}
if (strequals(server.jail,#a)){
sleep 0.5;
setlevel (jailplace);
setstring server.jail,;
}

:D Im very proud of that script
Though, it doesnt work ofline as it uses server strings and crap like that.

Saga2001 02-19-2002 03:07 AM

Quote:

Originally posted by Kaimetsu
Random playersprites is a horrible way to make a dance. It's laggy and it looks silly.
man i am so in aggreance with kaimetsu today.

konidias 02-19-2002 03:38 AM

Hi.
Someone make every script for my server asap!
I don't know the first thing about npcs.
Contact me at [email protected]

:)

lordhelmut 02-20-2002 10:59 AM

Quote:

Originally posted by wicky111
Jail script is easy
Here it is:
//NPC Made by 2GOOD4U
if (playerchats && startswith(jail,#c)){
setstring server.jail,#e(4,-1,#c);
setplayerprop #c,;}
if (strequals(server.jail,#a)){
sleep 0.5;
setlevel (jailplace);
setstring server.jail,;
}

:D Im very proud of that script
Though, it doesnt work ofline as it uses server strings and crap like that.

only way u need a jail script is online and online u set ur jail in serveroptions so I have never understood the need at all for jail scripts =/

lordhelmut 02-20-2002 11:00 AM

Quote:

Originally posted by Goboom
I know ;) but its just something simple for him to work with...
your sig looks like a head sitting on a rock...


All times are GMT +2. The time now is 12:38 PM.

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