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
Please remove
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#5
RE: AddEntityCollideCallback

(01-02-2012, 04:39 AM)eagledude4 Wrote: Before I seen you're reply, I tried SetEntityPlayerInteractCallback("chest_small_2", "TriggerSpider", true); but that didn't work either.

Do I just insert the name of the function in the PlayerInteractCallback field? Just "TriggerSpider"?
I've never used the script functions inside the editor, does it change anything in the .hps file itself?
When you use the functions inside the editor, put your mouse on top of them to see the syntax (string &in asEntity) for PlayerInteractCallback for example. When you write TriggerSpider there, just put:
void TriggerSpider(string &in asEntity)
{//stuff
}



(01-02-2012, 04:46 AM)Statyk Wrote: I figured out the other day playing Unsterblich that spiders do not work properly in Amnesia. They will scurry around and attack you, but the mesh stays at the 0 point of all axis in the level. It's a bug (no pun intended), and unfortunately, does not work like they do in Penumbra. =[ I'm sorry
The spider entity in insan_visions works though, its just with an idle loop animation.

(This post was last modified: 01-02-2012, 04:52 AM by Khyrpa.)
01-02-2012, 04:50 AM
Find


Messages In This Thread
Please remove - by eagledude4 - 01-02-2012, 04:31 AM
RE: AddEntityCollideCallback - by Khyrpa - 01-02-2012, 04:36 AM
RE: AddEntityCollideCallback - by eagledude4 - 01-02-2012, 04:39 AM
RE: AddEntityCollideCallback - by Khyrpa - 01-02-2012, 04:50 AM
RE: AddEntityCollideCallback - by Statyk - 01-02-2012, 05:20 AM
RE: AddEntityCollideCallback - by eagledude4 - 01-02-2012, 05:41 AM
RE: AddEntityCollideCallback - by Statyk - 01-02-2012, 04:46 AM
RE: AddEntityCollideCallback - by Khyrpa - 01-02-2012, 06:42 AM
RE: AddEntityCollideCallback - by eagledude4 - 01-02-2012, 06:45 AM
RE: AddEntityCollideCallback - by Statyk - 01-02-2012, 07:08 AM
RE: AddEntityCollideCallback - by eagledude4 - 01-02-2012, 07:27 AM
RE: AddEntityCollideCallback - by eagledude4 - 01-03-2012, 12:34 AM
RE: AddEntityCollideCallback - by flamez3 - 01-03-2012, 12:44 AM
RE: AddEntityCollideCallback - by eagledude4 - 01-03-2012, 02:58 AM
RE: AddEntityCollideCallback - by flamez3 - 01-03-2012, 03:14 AM
RE: AddEntityCollideCallback - by eagledude4 - 01-03-2012, 03:22 AM
RE: AddEntityCollideCallback - by Statyk - 01-03-2012, 03:42 AM
RE: AddEntityCollideCallback - by eagledude4 - 01-03-2012, 03:48 AM
RE: AddEntityCollideCallback - by flamez3 - 01-03-2012, 06:09 AM
RE: AddEntityCollideCallback - by eagledude4 - 01-03-2012, 06:10 AM
RE: AddEntityCollideCallback - by flamez3 - 01-03-2012, 08:03 AM
RE: AddEntityCollideCallback - by eagledude4 - 01-03-2012, 05:13 PM
RE: AddEntityCollideCallback - by eagledude4 - 01-11-2012, 10:02 PM
RE: AddEntityCollideCallback - by Statyk - 01-11-2012, 10:17 PM
RE: AddEntityCollideCallback - by eagledude4 - 01-11-2012, 10:20 PM
RE: AddEntityCollideCallback - by Statyk - 01-11-2012, 10:21 PM
RE: AddEntityCollideCallback - by eagledude4 - 01-11-2012, 10:38 PM



Users browsing this thread: 1 Guest(s)