The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> how to let item disappear, that's not in the inventory
jastey
post Feb 10 2005, 11:54 AM
Post #1





Forum Member
Posts: 1366
Joined: 22-August 04
From: Germany




Hi all,
is there a way to let an item disappear, that is somewhere in the game - on the floor, to be precise, with not known coordinates?

"PickUpItem(XX)" - only works if the character is standing on the item
"DestroyItem(XX)" - only works for items in the inventory.

I need to remove an item from the game, but I have no idea where it could be (where the player left it.)

I fear it's not possible. Ideas anyone?
Thanks.
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
igi
post Feb 10 2005, 04:14 PM
Post #2


IESDP Guardian


Forum Member
Posts: 175
Joined: 22-July 04




I doubt it's possible without some nifty work-around.
You could detect the fact the item is no longer in the inventory, create an invis creature (hopefully right next to the item), pick it up, and set the creature anim to be the ground anim of the object.
Or dont let the item be dropped, except via dialog (in which case, I will cry).
Or, for an insane approach, when you detect the item is no longer in the players possession, MoveGroundPiles to some out-of-reach area.
Or, once you decide the item should be 'gone', set a global. When the player possess the item again, use the global to TakeItemReplace it with some mystical ash or something, all that remains of the object.
Or something.


--------------------
Go to the top of the page
 
Quote Post

Posts in this topic
jastey   how to let item disappear   Feb 10 2005, 11:54 AM
egm   NULL   Feb 10 2005, 01:19 PM
jastey   NULL   Feb 10 2005, 01:30 PM
egm   NULL   Feb 10 2005, 03:05 PM
igi   NULL   Feb 10 2005, 04:14 PM
jastey   NULL   Feb 10 2005, 04:15 PM
jastey   NULL   Feb 10 2005, 04:21 PM
Avenger_teambg   NULL   Jul 23 2005, 07:17 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 29th August 2025 - 07:20 AM