Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   removeitem itemname; (https://forums.graalonline.com/forums/showthread.php?t=33623)

joseyisleet 07-16-2002 03:18 PM

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

GrowlZ1010 07-16-2002 04:01 PM

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.

joseyisleet 07-16-2002 05:45 PM

ooh
 
Hmm thanks for that man, :).
-Howard

joseyisleet 07-17-2002 04:10 AM

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.

Python523 07-17-2002 04:26 AM

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

joseyisleet 07-17-2002 10:07 AM

ooo
 
Ok, thanks for the help :) ill take some consideration into learning server sided scripting :), thanks again.
- Howard
- http://www.exodusgraal2k1.cjb.net


All times are GMT +2. The time now is 08:06 AM.

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