Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-14-2002, 11:11 AM
BinaryCrash BinaryCrash is offline
No memory dump.
Join Date: Jul 2002
Location: Brazil
Posts: 70
BinaryCrash is on a distinguished road
Send a message via ICQ to BinaryCrash Send a message via MSN to BinaryCrash
Exclamation Problem with the command /clearnpcs

the command /clearnpcs are not working anymore for npcs created with putnpc2.
This problem is happening on Maloria.
Reply With Quote
  #2  
Old 09-14-2002, 11:34 AM
Graal2001_NAT Graal2001_NAT is offline
Registered User
Join Date: Sep 2002
Posts: 241
Graal2001_NAT is on a distinguished road
Re: Problem with the command /clearnpcs

Quote:
Originally posted by BinaryCrash
the command /clearnpcs are not working anymore for npcs created with putnpc2.
This problem is happening on Maloria.
hmm, I was having problem with the destroy command with local (putnpc2) npcs before, I would use destroy after a sleep for them but when i updated the level, they would reappear but destroy (which acted more like hide) again
__________________
GONE, BAI
Reply With Quote
  #3  
Old 09-15-2002, 06:16 AM
BinaryCrash BinaryCrash is offline
No memory dump.
Join Date: Jul 2002
Location: Brazil
Posts: 70
BinaryCrash is on a distinguished road
Send a message via ICQ to BinaryCrash Send a message via MSN to BinaryCrash
i got an idea. will it work if we use
with(npcs[number]){
destroy;
}
??
Reply With Quote
  #4  
Old 09-16-2002, 11:57 PM
Graal2001_NAT Graal2001_NAT is offline
Registered User
Join Date: Sep 2002
Posts: 241
Graal2001_NAT is on a distinguished road
that would destroy every npc on the level (but ones that are built-into the level would refresh on an update)
__________________
GONE, BAI
Reply With Quote
  #5  
Old 09-17-2002, 12:50 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
NPC Code:
for (i=0; i<npcscount; i++) with (npcs[i])
destroy;
sendtorc updatelevel #L;


Or something...
Reply With Quote
  #6  
Old 09-24-2002, 09:44 AM
BinaryCrash BinaryCrash is offline
No memory dump.
Join Date: Jul 2002
Location: Brazil
Posts: 70
BinaryCrash is on a distinguished road
Send a message via ICQ to BinaryCrash Send a message via MSN to BinaryCrash
i tested that and it clear all the npcs, at this point it work, but when try to update level it wont show the npcs from the level
file again...
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:42 AM.


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