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 Several Script Questions
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#3
RE: Several Script Questions

(07-23-2012, 07:30 PM)Kreekakon Wrote: 1. Is it possible to use key-bindings in Amnesia? Like say you wanted a script to run when you pressed "R", is it possible?
Not really. But there are some hacks you can use. You can sacrifice movement / jumping / crouching / lantern for trapping key presses, as well as interaction in certain situations. I've also heard that in dev-mode the "h" key hurts you, and you could abuse this too.

(07-23-2012, 07:30 PM)Kreekakon Wrote: 2. Is there anyway to put a script in some sort of file, or place where it will be functioning, or checking for when to function in the entire custom story? A bit like how inventory.hps will be keeping check on your inventory the whole game.
You could try putting the script in a custom inventory.hps or global.hps file under certain restrictions (I haven't really played about with this, so some experimentation here is a good bet). Failing that, make use of a pre-processor and just stick includes at the start of you script file.
(This post was last modified: 07-23-2012, 10:28 PM by Apjjm.)
07-23-2012, 10:27 PM
Find


Messages In This Thread
Several Script Questions - by Kreekakon - 07-23-2012, 07:30 PM
RE: Several Script Questions - by JMFStorm - 07-23-2012, 07:54 PM
RE: Several Script Questions - by Apjjm - 07-23-2012, 10:27 PM
RE: Several Script Questions - by Kreekakon - 07-23-2012, 10:32 PM
RE: Several Script Questions - by Apjjm - 07-23-2012, 10:42 PM
RE: Several Script Questions - by Kreekakon - 07-23-2012, 10:48 PM
RE: Several Script Questions - by Your Computer - 07-24-2012, 01:41 AM



Users browsing this thread: 1 Guest(s)