Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   toweapons (https://forums.graalonline.com/forums/showthread.php?t=21469)

BlKnight 01-19-2002 07:27 AM

toweapons
 
Uh, I'm not good with NPC server...how do you make a NPC go toweapons? Plain ol' toweapons isn't working..thanks

kittygirl765 01-19-2002 11:44 PM

You can use toweapons on the npc server, but the toweapons has to be in the server side part of the script, or else it'll give an error.

Liek,
NPC Code:

if(playerenters&&!hasweapon(Tick)) {
toweapons Tick;
}



Or u can also use addweapon <weapon name>, but that has to be server side too

Loriel 01-20-2002 05:46 AM

addweapon weapon name goes here;
You need to use NC to add that weapon to the Database before you do that, of course.

BlKnight 01-20-2002 08:19 AM

Yeah figured this out a while ago, so disregard it. NPC server is superness easy.

BocoC 01-20-2002 11:33 AM

Quote:

Originally posted by BlKnight
Yeah figured this out a while ago, so disregard it. NPC server is superness easy.
I would so disagree with you. Some commands only work clientside, which is a REAL pain in the butt if it is a vital command that you need serverside, like wraptext2, which only works clientside, not serverside.

grim_squeaker_x 01-20-2002 06:36 PM

Quote:

Originally posted by BocoC

I would so disagree with you. Some commands only work clientside, which is a REAL pain in the butt if it is a vital command that you need serverside, like wraptext2, which only works clientside, not serverside.

The thing about warptext2 is that it's made for showimg, and showimg is mostly used clientside. And it isn't that hard to make a work around for it in my opinion.

BlKnight 01-20-2002 11:45 PM

Quote:

Originally posted by grim_squeaker_x
The thing about warptext2 is that it's made for showimg, and showimg is mostly used clientside. And it isn't that hard to make a work around for it in my opinion.
*agrees*

TDK_RC6 01-21-2002 08:35 PM

i have to agree with you, that is after you get used to the nc, i becomes second nature

Quote:

Originally posted by BlKnight
Yeah figured this out a while ago, so disregard it. NPC server is superness easy.

BocoC 01-22-2002 12:52 AM

After you start to try to make complex NPC's, you run into lots of snags.

IceFire_TK 01-25-2002 06:40 PM

Quote:

Originally posted by Loriel
addweapon weapon name goes here;
You need to use NC to add that weapon to the Database before you do that, of course.

Loriel's way is better. If I'm correct, it's also less laggier.

kittygirl765 01-27-2002 02:57 AM

Quote:

Originally posted by IceFire_TK

Loriel's way is better. If I'm correct, it's also less laggier.

err, i dunno, but how could it be less laggy?

I think maybe, if its toweapons, then the script from the level is sent to the player, and then sent to be copied into the database (?). But if its addweapon, then the script from the database is sent to the player. lol


All times are GMT +2. The time now is 05:46 PM.

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