Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I wanna give a hint when trying to open inventory
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#1
I wanna give a hint when trying to open inventory

Since my custom story is a trilogy, it could be very difficult getting all the items together. Then I came up with an idea to lose the items in a creative way (figured that out already). When items are lost, I want them to also temporarly lose their inventory at the moment too.

Now, I want it to give a message when trying to open inventory at this time. Just like when you don't have a lantern.

Anyone knows how to do this?

(sorry if im confusing you somehow)
11-08-2013, 06:50 PM
Find
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#2
RE: I wanna give a hint when trying to open inventory

It's not exectly a hint when trying to open the inventory but you can use the function:
void SetInventoryDisabled(bool abX);
In combination with:
void SetMessage(string& asTextCategory, string& asTextEntry, float afTime);
to display the player that the inventory is not available...

Note: You can edit or add new Categories and Entries in the language file in your configfolder. (/redist/config/)[/code]

If you don't draw first, you don't get to draw at all... -The False Shepherd
11-09-2013, 12:13 AM
Find




Users browsing this thread: 1 Guest(s)