Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 2 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using items between levels?
Author Message
Kyle Offline
Posting Freak

Posts: 910
Joined: Sep 2010
Reputation: 7
Post: #11
RE: Using items between levels?
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:

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

While "ItemName02" unlocks the door. ^^

(This post was last modified: 07-09-2011 12:20 AM by Kyle.)
07-09-2011 12:19 AM
Find all posts by this user Quote this message in a reply
Snuffalofagus Offline
Member

Posts: 94
Joined: Jul 2011
Reputation: 0
Post: #12
RE: Using items between levels?
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 :DDD
07-09-2011 12:35 AM
Find all posts by this user Quote this message in a reply
Kyle Offline
Posting Freak

Posts: 910
Joined: Sep 2010
Reputation: 7
Post: #13
RE: Using items between levels?
(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 :DDD

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

07-09-2011 12:37 AM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)