Frictional Games Forum (read-only)
Using items between levels? - 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: Using items between levels? (/thread-8973.html)

Pages: 1 2


RE: Using items between levels? - Kyle - 07-09-2011

I have an idea. Perhaps you should simply replace the item with some other item with a slightly different in-game/editor/lang name.

Example:

Instead of "ItemName", have "ItemName02".

Like this:

Code:
void OnStart()
{
     if (HasItem("ItemName") == true)
     {
          RemoveItem("ItemName");
          GiveItem("ItemName02");
     }
}

While "ItemName02" unlocks the door. ^^


RE: Using items between levels? - Zypherzemus - 07-09-2011

WOW!!!!! I feel like a retard, that command you posted earlier totally works... It was a syntax error on my part... gosh I feel stupid, it was one LITTLE mistake too.. Well, it works, I can open up the door with my key Big GrinDD


RE: Using items between levels? - Kyle - 07-09-2011

(07-09-2011, 12:35 AM)Snuffalofagus Wrote: WOW!!!!! I feel like a retard, that command you posted earlier totally works... It was a syntax error on my part... gosh I feel stupid, it was one LITTLE mistake too.. Well, it works, I can open up the door with my key Big GrinDD

Well that's good to know, I started feeling like I was going insane from that. Tongue