Frictional Games Forum (read-only)

Full Version: Using items between levels?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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. ^^
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
(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
Pages: 1 2