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
Custom Story Crash [HAVING THE PROBLEM ONCE AGAIN]
RawkBandMan Offline
Posting Freak

Posts: 1,146
Threads: 35
Joined: Nov 2010
Reputation: 5
#13
RE: Custom Story Crash

(01-13-2011, 02:30 PM)Tottel Wrote: Do you hear the sound of the door unlocking?

Please post your extra_english.lang and your .hps again

No I do not and here they are.

.hps
Spoiler below!
////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "rockingkey_1", "castle_1", "UsedKeyOnDoor", true) ;
}

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

{
SetSwingDoorLocked("castle_1", false, true) ;
PlaySoundAtEntity("", "unlock_door", "castle_1", 0, false) ;
RemoveItem("rockingkey_1") ;
}

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

}

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

}




extra_english.lang
Spoiler below!
<LANGUAGE>

<CATEGORY Name="Test">
<Entry Name="Description>
Mr Testy! </Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_RockingKey">Rocking Key</Entry>
<Entry Name="ItemDesc_RockingKey">Key for a door that's just so important</Entry>
</CATEGORY>
</LANGUAGE>


I've come to learn to not fear the living, nor the dead... But the monsters that hide in closets.
01-13-2011, 03:00 PM
Find


Messages In This Thread
RE: Custom Story Crash - by jens - 01-12-2011, 03:01 PM
RE: Custom Story Crash - by RawkBandMan - 01-13-2011, 12:40 AM
RE: Custom Story Crash - by Tottel - 01-13-2011, 01:34 AM
RE: Custom Story Crash - by RawkBandMan - 01-13-2011, 01:41 AM
RE: Custom Story Crash - by Tottel - 01-13-2011, 02:22 AM
RE: Custom Story Crash - by RawkBandMan - 01-13-2011, 02:32 AM
RE: Custom Story Crash - by Tottel - 01-13-2011, 02:34 AM
RE: Custom Story Crash - by RawkBandMan - 01-13-2011, 02:48 AM
RE: Custom Story Crash - by Tottel - 01-13-2011, 10:27 AM
RE: Custom Story Crash - by RawkBandMan - 01-13-2011, 02:17 PM
RE: Custom Story Crash - by Tottel - 01-13-2011, 02:30 PM
RE: Custom Story Crash - by RawkBandMan - 01-13-2011, 03:00 PM
RE: Custom Story Crash - by RawkBandMan - 01-17-2011, 12:12 AM
RE: Custom Story Crash - by RawkBandMan - 01-22-2011, 06:17 PM
RE: Custom Story Crash - by RawkBandMan - 05-07-2011, 05:18 PM
RE: Custom Story Crash [SOLVED] - by JetlinerX - 08-21-2011, 07:12 PM
RE: Custom Story Crash [SOLVED] - by Obliviator27 - 08-21-2011, 08:03 PM
RE: Custom Story Crash [SOLVED] - by RawkBandMan - 08-25-2011, 03:08 AM



Users browsing this thread: 1 Guest(s)