Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-16-2002, 03:18 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
removeitem itemname;

Hey is removeitem itemname, for NPC Server?, cause it has no errors but it doesnt work in offline, so i just wanted to know, and if theres a way to do it without NPC server i would really appreciate if you tell me. (i know i can use sleep 0.05;destroy)
but that doesnt work to great with my npc. thanks for yah time
- Chicken AKA Howard
- http://www.exodusgraal2k1.cjb.net
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #2  
Old 07-16-2002, 04:01 PM
GrowlZ1010 GrowlZ1010 is offline
defunct
Join Date: May 2002
Posts: 187
GrowlZ1010 is on a distinguished road
I believe you're looking for the removeweapon command. Removeitem will remove a player-placed item (ie bomb pack, heart, arrow pack) from the level. And yes, removeweapon is NPCServer only.

Unfortunately, there are only two ways to remove a weapon on a server with no NPCServer: tell it to destroy itself when passed a certain flag or to get RCs to remove it from the player's account.
Reply With Quote
  #3  
Old 07-16-2002, 05:45 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
ooh

Hmm thanks for that man, .
-Howard
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #4  
Old 07-17-2002, 04:10 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
ohh ok :)

ok thanks, but destroy doesnt have the effect i want it to have x.x i was just mucking around thought i might be able to script a item trading using trigger action woot worked well tested it on a npc, it deleted that npc but then it closed it all off and screwed up x.x.
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #5  
Old 07-17-2002, 04:26 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
are you trying to make an item trading system where you lay the items? your best bet is the learn how to script serverside and learn putnpc2
Reply With Quote
  #6  
Old 07-17-2002, 10:07 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
ooo

Ok, thanks for the help ill take some consideration into learning server sided scripting , thanks again.
- Howard
- http://www.exodusgraal2k1.cjb.net
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
Reply


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:18 PM.


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