Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > NPC Server
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-19-2002, 07:27 AM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
toweapons

Uh, I'm not good with NPC server...how do you make a NPC go toweapons? Plain ol' toweapons isn't working..thanks
__________________
This account is no longer is use.
  #2  
Old 01-19-2002, 11:44 PM
kittygirl765 kittygirl765 is offline
tapatapatapa
kittygirl765's Avatar
Join Date: Dec 2001
Location: Caught in a tree
Posts: 70
kittygirl765 is on a distinguished road
Send a message via ICQ to kittygirl765
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
__________________
I <3 UN
I <3 Shadow Strip Entertainment City Shangri-La
I <3 gscript2
  #3  
Old 01-20-2002, 05:46 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
addweapon weapon name goes here;
You need to use NC to add that weapon to the Database before you do that, of course.
  #4  
Old 01-20-2002, 08:19 AM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
Yeah figured this out a while ago, so disregard it. NPC server is superness easy.
__________________
This account is no longer is use.
  #5  
Old 01-20-2002, 11:33 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
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.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
  #6  
Old 01-20-2002, 06:36 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
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.
__________________

  #7  
Old 01-20-2002, 11:45 PM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
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*
__________________
This account is no longer is use.
  #8  
Old 01-21-2002, 08:35 PM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
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.
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
  #9  
Old 01-22-2002, 12:52 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
After you start to try to make complex NPC's, you run into lots of snags.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
  #10  
Old 01-25-2002, 06:40 PM
IceFire_TK IceFire_TK is offline
Banned
Join Date: Nov 2001
Location: O' Canada
Posts: 375
IceFire_TK is on a distinguished road
Send a message via AIM to IceFire_TK Send a message via Yahoo to IceFire_TK
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.
  #11  
Old 01-27-2002, 02:57 AM
kittygirl765 kittygirl765 is offline
tapatapatapa
kittygirl765's Avatar
Join Date: Dec 2001
Location: Caught in a tree
Posts: 70
kittygirl765 is on a distinguished road
Send a message via ICQ to kittygirl765
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
__________________
I <3 UN
I <3 Shadow Strip Entertainment City Shangri-La
I <3 gscript2
 


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 07:26 PM.


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