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
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#3
RE: Custom story wont show up

MapsFolder = "maps/"
StartMap = "The Castle of the Evil.map"

ImgFile = "story.png"

I thought it only worked with jpg, but I haven't really tested it with png.

Also I want to fix the Key script
{
AddUseItemCallBack("", "celldoorkey", "celldoor", "UsedKeyOnDoor", true);
}

void MyFunc(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("celldoor", false, true);
PlaySoundAtEntity("", "unlock_door", "celldoor", "0", false);
RemoveItem(celldoorkey);
GiveSanityBoostSmall(); //This is an optional script function
}


Those two bolded have to correspond with each other.

(This post was last modified: 05-06-2012, 11:49 AM by Xanthos.)
05-06-2012, 11:47 AM
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)