Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Making a vase not drop the default health (https://forums.graalonline.com/forums/showthread.php?t=134260270)

MrOmega 08-20-2010 10:53 PM

Making a vase not drop the default health
 
Well, making a custom grab/lift system and everytime I lift up a vase it drops one of those small hearts from the classic system. I've looked through enablefeatures/showstats/serveropts/etc, can't find any documentation on how to make it not drop them. Anyone know how to fix this?

cbk1994 08-20-2010 10:59 PM

Use NPCs for the pot. No other way that I know of.

12171217 08-21-2010 02:18 AM

Surely you can utilize takeitem and then at that point replace it with whatever you'd like via script? No clue if the old items array still functions as it used to, though.

DustyPorViva 08-21-2010 02:52 AM

If it's custom, could just use different tiles. The key to invoking(or not, in your case) the item drops is that it only happens if the exact tiles(a vase) are replaced with the default tiles after they're gone(the mat?). You can still use the same vase tiles, but replace them with different tiles and they won't drop anything.

WhiteDragon 08-21-2010 03:40 AM

If you feel like rescripting literally everything on your server there is a server-option Stefan can turn on to disable all the default systems.

DustyPorViva 08-21-2010 03:57 AM

Quote:

Originally Posted by WhiteDragon (Post 1595527)
If you feel like rescripting literally everything on your server there is a server-option Stefan can turn on to disable all the default systems.

I was always interested in this. Could have made some things a lot simpler for me.

MrOmega 08-21-2010 04:11 AM

Quote:

Originally Posted by WhiteDragon (Post 1595527)
If you feel like rescripting literally everything on your server there is a server-option Stefan can turn on to disable all the default systems.

Everything on my server is a custom system, so I vote yes, I'll just forum PM him. Thank you.

WhiteDragon 08-21-2010 04:21 AM

Quote:

Originally Posted by MrOmega (Post 1595532)
Everything on my server is a custom system, so I vote yes, I'll just forum PM him. Thank you.

This means movement, hit detection, ganis, pause, everything. It's the server mode the gold servers use.

Edit: Also default inventory and clientside onPlayerTouchsMe

MrOmega 08-21-2010 05:02 AM

Quote:

Originally Posted by WhiteDragon (Post 1595534)
This means movement, hit detection, ganis, pause, everything. It's the server mode the gold servers use.

Edit: Also default inventory and clientside onPlayerTouchsMe

All I have already rescripted but what do you mean clientside onplayertouchsme? Like all 'onFunction' are taken out of the functions you can use?

WhiteDragon 08-21-2010 05:07 AM

Quote:

Originally Posted by MrOmega (Post 1595543)
All I have already rescripted but what do you mean clientside onplayertouchsme? Like all 'onFunction' are taken out of the functions you can use?

No, it's just onPlayerTouchsMe that no longer works in NPCs (clientside). You'll have to emulate it with a triggeraction.

MrOmega 08-21-2010 07:45 AM

Quote:

Originally Posted by WhiteDragon (Post 1595547)
No, it's just onPlayerTouchsMe that no longer works in NPCs (clientside). You'll have to emulate it with a triggeraction.

oh not a problem

MrOmega 08-22-2010 08:28 AM

Is Stefan the only one able or can PWA? It's taking awhile for him to respond...

cbk1994 08-22-2010 08:51 AM

Quote:

Originally Posted by MrOmega (Post 1595736)
Is Stefan the only one able or can PWA? It's taking awhile for him to respond...

Stefan is the only one, and I doubt you'll get a response anyway.

MrOmega 08-22-2010 08:59 AM

Quote:

Originally Posted by cbk1994 (Post 1595737)
Stefan is the only one, and I doubt you'll get a response anyway.

He talks to me and responds most of the time

Loriel 08-22-2010 02:54 PM

Quote:

Originally Posted by MrOmega (Post 1595738)
He talks to me and responds most of the time

can i touch you


All times are GMT +2. The time now is 12:22 PM.

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