Frictional Games Forum (read-only)
Setting down inventory item - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Setting down inventory item (/thread-14351.html)



Setting down inventory item - Damascus - 03-30-2012

How can I set down an Object in a specific place on the floor without an entity to use it on? I've tried using an invisible block box or an entity hidden just under the floor but neither of them will react to using the item on them.



RE: Setting down inventory item - flamez3 - 03-30-2012

Put a script area around it. Script areas are entities.


RE: Setting down inventory item - Xanthos - 03-30-2012

I'm pretty sure you can use the Area And change it to "examine".
{


AddUseItemCallback("", "ObjectName", "Examine_area_1", "ItemUse", true);
}
void ItemUse(string &in asItem, string &in asEntity)
{

}