Xanthos
Senior Member
Posts: 318
Threads: 9
Joined: Mar 2012
Reputation:
8
|
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 |
|