Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Destroying a npc using with(npcs[])? (https://forums.graalonline.com/forums/showthread.php?t=52860)

projectigi 05-27-2004 05:34 PM

Destroying a npc using with(npcs[])?
 
How to destroy a npc with using:
with(npcs[index]){
}

i tried some things

with(npcs[index]){
destroy;
}
//Then the serverside part of the weapon is destroyed lol

with(npcs[index]){
setlevel2 onlinestartlocal.nw,10,10;
}
//Dont works

:/

calum 05-27-2004 08:31 PM

Under what circumcises do you want it to destroy?

GoZelda 05-27-2004 08:49 PM

Use the code tags please.

Loriel 05-28-2004 10:13 PM

with (npcs[]) destroy; should work. Except for weapons, where you use removeweapon.


All times are GMT +2. The time now is 02:32 AM.

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