Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Pickup objects, lay2 (https://forums.graalonline.com/forums/showthread.php?t=77957)

xAndrewx 12-17-2007 07:50 PM

Pickup objects, lay2
 
On Classic Graal, picking up a vase drops a heart.
Is there a way to either detect when a player touches the heart, or to remove the vase dropping the heart?

Nabru 12-17-2007 08:12 PM

put an image of the vase there and allow it to be picked up...?

xAndrewx 12-17-2007 08:12 PM

No.

DustyPorViva 12-17-2007 09:08 PM

Just to note, I don't think Classic uses lay2, I think they use putnpc2 for their item drops.

xAndrewx 12-17-2007 09:10 PM

Yeah, Classic does.

I'm wanting to find out how they disabled the lay2 command though, so it doesn't lay the heart upon picking up a pot.

Thanks Dusty

Twinny 12-17-2007 09:15 PM

They probably scripted their own vase -_-

gemini2 12-17-2007 09:15 PM

I think it can be done with showstats();

or what Twinny said

DustyPorViva 12-17-2007 09:17 PM

Serveroption I think. And yes, all their bushes/vases and such are also NPC's.

gemini2 12-17-2007 09:21 PM

Quote:

Originally Posted by DustyPorViva (Post 1364241)
Serveroption I think.

PHP Code:

bush_items=false  // remove _ :p
baddyitems=false 

these?

xAndrewx 12-17-2007 09:53 PM

can't find anything in
Server Options, Showstats or Enable Features. Any other ideas?

DustyPorViva 12-17-2007 09:57 PM

Well, like I said, they use their own NPC's for vases and dropped items... so I guess when you pick up the vase simply destroy the NPC?
I'm still having a hard time understanding what you want, though.

Kyranki 12-17-2007 10:28 PM

It's a server option. The ones gemini posted SHOULD work for you andrew.

xAndrewx 12-17-2007 10:34 PM

bu****ems=false
baddyitems=false

Nope, not work. :[

I'm wanting it so that it doesn't drop the heart when you pick up a pot.

gemini2 12-17-2007 10:39 PM

disable hearts through showstats()?

DustyPorViva 12-17-2007 10:43 PM

PHP Code:

function onTimeout() {
  for (
i=0;i<itemscount;i++) {
    if (
items[i].type==5removeitem(i);
  }
  
setTimer(0.05);


?

xAndrewx 12-17-2007 11:32 PM

ohmy, there has to be another way. I'd hate for it to do that

cbk1994 12-18-2007 03:54 AM

Quote:

Originally Posted by xAndrewx (Post 1364272)
ohmy, there has to be another way. I'd hate for it to do that

Everyone has already told you!

Classic uses their own NPCs! What DustPorViva said is the best solution.

xAndrewx 12-18-2007 09:49 AM

damn! ohwell, thanks


All times are GMT +2. The time now is 08:09 PM.

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