Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Gametee


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 Quick Questions! [Solved]
Author Message
pwnvader360 Offline
Junior Member

Posts: 11
Joined: Jan 2011
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Frontcannon Offline
Senior Member

Posts: 538
Joined: Jul 2010
Reputation: 2
Post: #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 all posts by this user Quote this message in a reply
pwnvader360 Offline
Junior Member

Posts: 11
Joined: Jan 2011
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)