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
amnesia custom story error?
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#17
RE: amnesia custom story error?

If there's any map_cache, delete it.

Also,this is the GOOD SCRIPT: (Copy-paste and replace it)

////////////////////////////

// Run when entering map

void OnEnter()

{

AddUseItemCallback("", "studydoorkey_1", "studydoor", "UsedKeyOnDoor", true);

}



void UsedKeyOnDoor(string &in asItem, string &in asEntity)

{

  SetSwingDoorLocked("studydoor", false, true);

  PlaySoundAtEntity("", "unlock_door", "studydoor", 0, false);

  RemoveItem("studydoorkey_1");

}









////////////////////////////

// Run when leaving map

void OnLeave()

{



}

If you want to ask for help, go here .

You are lucky that I found this thread. I don't usually come in this section.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 02-06-2013, 01:44 PM by The chaser.)
02-06-2013, 01:43 PM
Find


Messages In This Thread
amnesia custom story error? - by nixxx60 - 02-06-2013, 10:14 AM
RE: amnesia custom story error? - by nixxx60 - 02-06-2013, 10:23 AM
RE: amnesia custom story error? - by nixxx60 - 02-06-2013, 10:29 AM
RE: amnesia custom story error? - by nixxx60 - 02-06-2013, 10:35 AM
RE: amnesia custom story error? - by No Author - 02-06-2013, 10:40 AM
RE: amnesia custom story error? - by No Author - 02-06-2013, 10:56 AM
RE: amnesia custom story error? - by nixxx60 - 02-06-2013, 10:28 AM
RE: amnesia custom story error? - by nixxx60 - 02-06-2013, 10:33 AM
RE: amnesia custom story error? - by nixxx60 - 02-06-2013, 10:37 AM
RE: amnesia custom story error? - by The chaser - 02-06-2013, 01:43 PM
RE: amnesia custom story error? - by No Author - 02-06-2013, 02:56 PM
RE: amnesia custom story error? - by No Author - 02-06-2013, 03:17 PM



Users browsing this thread: 1 Guest(s)