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
Touch an entity/item and something is triggered?
HeadyBoy Offline
Junior Member

Posts: 45
Threads: 16
Joined: Jul 2012
Reputation: 0
#1
Touch an entity/item and something is triggered?

I am a newbie at Amnesia story making and I have been only scripting for about 2 days now.
I'm trying to make, let's say, a sound happen (which I know how to do) for when I pick up maybe, a tinderbox. I'm not entirely sure on how to do this. See I've been using

AddEntityCollideCallback("Player","AREANAME","FUNCTION",true,1);


I have only been triggering sounds when a player goes into a new area but I havent wanted to experiment just in case I screw up something.

What would I do if I wanted to pick up a tinderbox and that triggered any kinda growl?
07-16-2012, 02:01 PM
Find


Messages In This Thread
Touch an entity/item and something is triggered? - by HeadyBoy - 07-16-2012, 02:01 PM



Users browsing this thread: 1 Guest(s)