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
2 Quick Questions! [Solved]
pwnvader360 Offline
Junior Member

Posts: 11
Threads: 3
Joined: Jan 2011
Reputation: 0
#1
2 Quick Questions! [Solved]

1. How do I run Amnesia in "debug" mode, so that when I want to test my custom story, I don't have to start it up over and over. I want to be able to click a button that will reload it in a debug mode.

2.What is the function that checks if a door has been clicked? Should I do anything to the PlayerInteractCallback section on the door in the editor?
(This post was last modified: 01-14-2011, 07:13 PM by pwnvader360.)
01-14-2011, 05:40 AM
Find Reply
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#2
RE: 2 Quick Questions!

(01-14-2011, 05:40 AM)pwnvader360 Wrote: 1. How do I run Amnesia in "debug" mode, so that when I want to test my custom story, I don't have to start it up over and over. I want to be able to click a button that will reload it in a debug mode.

This.

(01-14-2011, 05:40 AM)pwnvader360 Wrote: 2.What is the function that checks if a door has been clicked? Should I do anything to the PlayerInteractCallback section on the door in the editor?

Just put the function name for the callback in there, if your function is

void DoorInteract(string &in entity)
{
    stuff
}

just put DoorInteract in there.


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
01-14-2011, 07:29 AM
Find Reply
pwnvader360 Offline
Junior Member

Posts: 11
Threads: 3
Joined: Jan 2011
Reputation: 0
#3
RE: 2 Quick Questions!

(01-14-2011, 07:29 AM)Frontcannon Wrote:
(01-14-2011, 05:40 AM)pwnvader360 Wrote: 1. How do I run Amnesia in "debug" mode, so that when I want to test my custom story, I don't have to start it up over and over. I want to be able to click a button that will reload it in a debug mode.

This.

(01-14-2011, 05:40 AM)pwnvader360 Wrote: 2.What is the function that checks if a door has been clicked? Should I do anything to the PlayerInteractCallback section on the door in the editor?

Just put the function name for the callback in there, if your function is

void DoorInteract(string &in entity)
{
    stuff
}

just put DoorInteract in there.

kthxbai! XD
01-14-2011, 07:13 PM
Find Reply




Users browsing this thread: 1 Guest(s)