Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Updating Weapons (https://forums.graalonline.com/forums/showthread.php?t=21188)

Kumada 01-15-2002 07:21 AM

Updating Weapons
 
OK i made this fishing npc for mithica and every time i wanted it updated id have to delete the npc from every playes inventory then have them buy the new one.. is there any way to make it update auto instead of them having to buy a whole new weapon ..
but i did if (playerenter and hasweapons stuff..
but the weapon has to be destroyed then readded..

lordhelmut 01-15-2002 07:25 AM

umm make it so that if playerenters and they dont have the newest one then it destroys theres and adds the new one...

LiquidIce00 01-15-2002 07:35 AM

no. just update the code in the level then buy urself
like here i have a jump rope

if (playertouchsme) { toweapons jumprope; }
if (weaponfired) { setani skip,; }

then i want to update
just go to the level and update the code

if (playertouchsme) { toweapons jumprope; }
if (weaponfired) { setani skip,; setplayerprop #c,Jump!; }

then upload and update the level then get the new NPC (someone has to get so it databases)
then when any1 reconnects the weapon will auto update itself

Kumada 01-15-2002 08:34 AM

Quote:

Originally posted by LiquidIce00
no. just update the code in the level then buy urself
like here i have a jump rope

if (playertouchsme) { toweapons jumprope; }
if (weaponfired) { setani skip,; }

then i want to update
just go to the level and update the code

if (playertouchsme) { toweapons jumprope; }
if (weaponfired) { setani skip,; setplayerprop #c,Jump!; }

then upload and update the level then get the new NPC (someone has to get so it databases)
then when any1 reconnects the weapon will auto update itself

Thanks!


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

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