The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 Script help
Vasco Offline
Junior Member

Posts: 12
Threads: 4
Joined: Mar 2012
Reputation: 0
#1
Script help

I'm working on my own Custom story at the moment (actually, this is my first Amnesia CS). I'm not good in scripting, so I already have some questions. For example:
- Is there a way to script an area to call a function when a certain type of entity interacts with it? For example, I put inside an area any random book (not a concrete book with a name "book_that_calls_callback", but a random one) or random barrel, random piece of human arm etc. and this calls a function?
- Is there a way to make a rope area inactive? Or how can I script a situation, when I use a "rope" item near a hole - and a rope appears, that can be used as ladder?
- Is there a way to make a player drop a thing that he is holding in his hands at the moment? For example, the player walks through the corridor having a barrel/chair/book/Stephano/etc in his hand and whenever he goes inside an area - he drops this entity, and he has to grab it once again.
09-14-2012, 12:59 PM
Find


Messages In This Thread
Script help - by Vasco - 09-14-2012, 12:59 PM
RE: Script help - by Robby - 09-14-2012, 01:01 PM
RE: Script help - by Vasco - 09-14-2012, 01:32 PM
RE: Script help - by Robby - 09-14-2012, 01:35 PM
RE: Script help - by FlawlessHappiness - 09-14-2012, 01:39 PM
RE: Script help - by Robby - 09-14-2012, 01:40 PM
RE: Script help - by Wapez - 09-14-2012, 02:33 PM
RE: Script help - by Vasco - 09-14-2012, 04:01 PM



Users browsing this thread: 1 Guest(s)