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
Script Help Combinations?
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#6
RE: Combinations?

It isn't required to have an inventory.hps file, but it's better if you use one because then it allows the player to combine the two items anywhere in the story. If you script it in your maps it won't work in any map without the appropriate function.

Take a look at TDD's inventory.hps and try and emulate it. It's similar to the map's script file. You need an OnGameStart() in which you add the combination callback, and then you write up the function elsewhere in the script. Make sure your story is already open in Amnesia before you edit, because just like map script files, syntax errors in the inventory file will crash the game at compile time.

01-31-2012, 12:01 AM
Find


Messages In This Thread
Combinations? - by Tripication - 01-30-2012, 08:17 AM
RE: Combinations? - by Tripication - 01-30-2012, 09:49 AM
RE: Combinations? - by Tripication - 01-30-2012, 11:38 AM
RE: Combinations? - by Your Computer - 01-30-2012, 08:43 PM
RE: Combinations? - by Tripication - 01-30-2012, 10:38 PM
RE: Combinations? - by palistov - 01-31-2012, 12:01 AM



Users browsing this thread: 1 Guest(s)