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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amnesia editor - Help with scripting // Keys??
Rowzter Offline
Junior Member

Posts: 44
Threads: 12
Joined: Oct 2012
Reputation: 3
#6
RE: Amnesia editor - Help with scripting // Keys??

Yep. But i didn't see a void OnStart(). well i worked so whatevah

yes you can add more keys but then the other callback func or this:

AddUseItemCallback("", "Key01", "Door01", "FUNCTION", true);



That should always be in the void OnStart or OnEnter.


Like this:
void OnEnter


{
AddUseItemCallback("", "Key01", "Door01", "FUNCTION", true);

AddUseItemCallback("", "Key01", "Door01", "FUNCTION", true);

AddUseItemCallback("", "Key01", "Door01", "FUNCTION", true);

AddUseItemCallback("", "Key01", "Door01", "FUNCTION", true);

}


But the func should have it own space Smile
12-05-2012, 09:51 PM
Find


Messages In This Thread
RE: Amnesia editor - Help with scripting // Keys?? - by Rowzter - 12-05-2012, 09:51 PM



Users browsing this thread: 1 Guest(s)