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
[SOLVED!] Custom story wont show up
HeavenSh0ck Offline
Junior Member

Posts: 6
Threads: 1
Joined: May 2012
Reputation: 0
#8
RE: Custom story wont show up

////////////////////////////
// Run when entering map
void OnEnter()
{
}

void OnStart()
{
AddUseItemCallBack("", "celldoorkey", "celldoor", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("celldoor", false, true);
PlaySoundAtEntity("", "unlock_door", "celldoor", 0, false);
RemoveItem("celldoorkey");
}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

Heres the script I am still having the same error.
05-06-2012, 12:13 PM
Find


Messages In This Thread
RE: Custom story wont show up - by Cranky Old Man - 05-06-2012, 11:13 AM
RE: Custom story wont show up - by Xanthos - 05-06-2012, 11:47 AM
RE: Custom story wont show up - by Cranky Old Man - 05-06-2012, 11:53 AM
RE: Custom story wont show up - by Xanthos - 05-06-2012, 11:55 AM
RE: Custom story wont show up - by Cranky Old Man - 05-06-2012, 12:58 PM
RE: Custom story wont show up - by HeavenSh0ck - 05-06-2012, 12:06 PM
RE: Custom story wont show up - by Xanthos - 05-06-2012, 12:07 PM
RE: Custom story wont show up - by HeavenSh0ck - 05-06-2012, 12:13 PM
RE: Custom story wont show up - by Xanthos - 05-06-2012, 12:15 PM
RE: Custom story wont show up - by HeavenSh0ck - 05-06-2012, 12:18 PM
RE: Custom story wont show up - by Xanthos - 05-06-2012, 12:22 PM
RE: Custom story wont show up - by HeavenSh0ck - 05-06-2012, 12:31 PM
RE: Custom story wont show up - by Xanthos - 05-06-2012, 12:37 PM
RE: Custom story wont show up - by HeavenSh0ck - 05-06-2012, 12:47 PM



Users browsing this thread: 1 Guest(s)