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
Need help!!! Script...
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#9
RE: Need help!!! Script...

Now cant i even find the map in the Custom storyies in game :'( this is what i have in CFG

[code<Main
Name = "The Castle"
Author = "Hasse951 "
ImgFile = "story.png"
MapsFolder = "maps/"
StartMap = "00.intro.map"
StartPos = ""
/>][/code]

this LAng
PHP Code: (Select All)
<LANGUAGE>


 <
CATEGORY Name="CustomStoryMain">
 <
Entry Name="Description">This is the story about Jonah was prisoner in the castle in middle of now were.</Entry>
 </
CATEGORY>

 <
CATEGORY Name ="Inventory">
 <
Entry Name="ItemDesc_key_1">"Cell Key"</Entry>
 <
Entry Name="ItemName_ckey_1">Cell Key</Entry

 
</CATEGORY>
 </
LANGUAGE

And this ph File in Intro

[php////////////////////////////
// Run when entering map
void OnEnter()
{
AddUseItemCallback("", "key_1", "celldoor_1", "UsedKeyOnDoor", true);

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

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

}

[/php]

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
12-22-2011, 05:11 PM
Website Find


Messages In This Thread
Need help!!! Script... - by jessehmusic - 12-22-2011, 02:01 PM
RE: Need help!!! Script... - by flamez3 - 12-22-2011, 02:36 PM
RE: Need help!!! Script... - by jessehmusic - 12-22-2011, 02:53 PM
RE: Need help!!! Script... - by flamez3 - 12-22-2011, 03:07 PM
RE: Need help!!! Script... - by jessehmusic - 12-22-2011, 03:19 PM
RE: Need help!!! Script... - by Unearthlybrutal - 12-22-2011, 03:30 PM
RE: Need help!!! Script... - by jessehmusic - 12-22-2011, 04:54 PM
RE: Need help!!! Script... - by Unearthlybrutal - 12-22-2011, 05:04 PM
RE: Need help!!! Script... - by jessehmusic - 12-22-2011, 05:11 PM
RE: Need help!!! Script... - by jessehmusic - 12-22-2011, 06:54 PM
RE: Need help!!! Script... - by Unearthlybrutal - 12-22-2011, 09:48 PM



Users browsing this thread: 3 Guest(s)