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 05-09-2012, 10:53 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
try chatting update level and delete them. If you don't have a delete function in your script already, then you've been silly and you'll need to go to RC and type /clearnpcs [your level or gmap] to get rid of them.

Example:
/clearnpcs mymap.gmap
/clearnpcs mylevel.nw
Reply With Quote
  #2  
Old 05-09-2012, 10:54 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Emera View Post
type /clearnpcs [your level or gmap] to get rid of them.
Note that this will remove all local DB NPCs on the level, which could have unintended consequences (but I doubt it will for your server). Ideally you want to edit your script to add some way to delete the blocks instead.
__________________
Reply With Quote
  #3  
Old 05-09-2012, 10:56 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by cbk1994 View Post
Note that this will remove all local DB NPCs on the level, which could have unintended consequences (but I doubt it will for your server). Ideally you want to edit your script to add some way to delete the blocks instead.
If the NPC's are already layed down without a delete function in them, doesn't that make it impossible to delete them if you don't already have a delete function scripted into the class you're using?
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 07:33 PM.


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