Frictional Games Forum (read-only)

Full Version: Please help-SOLVED
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(06-05-2015, 06:55 PM)DnALANGE Wrote: [ -> ]AddUseItemCallback("","key_study_1", "level_hub_1" "FUNCTION",true);
---
You missing a Comma.
Try this line and replace it with yours.:
AddUseItemCallback("","key_study_1", "level_hub_1", "FUNCTION",true);

omg thank you alot it worked now ill try fix one other problem but man i really really thank you
You are very welcome.
We are here to help!
For any other question bef ree to post \ ask here.
Good luck with your story.
-
Hint :
IF you have no more questions, please add SOLVED in your thread (Please help - SOLVED), so people dont go inside a solved thread.
Thanks Wink
(06-05-2015, 07:36 PM)DnALANGE Wrote: [ -> ]You are very welcome.
We are here to help!
For any other question bef ree to post \ ask here.
Good luck with your story.
-
Hint :
IF you have no more questions, please add SOLVED in your thread (Please help - SOLVED), so people dont go inside a solved thread.
Thanks Wink

well i actually have one more why does my key has no skin and why my door message is not appearing
Key no skin:
Uh... No idea. Only thing I could think is you messed with a texture file.

Door message not appearing:
There's a possibility the is a mistake in the .lang file, causing any text not to show.
It could also be that you wrote the script wrong.

Do show the script, when you're having a script problem
(06-05-2015, 09:27 PM)FlawlessHappiness Wrote: [ -> ]Key no skin:
Uh... No idea. Only thing I could think is you messed with a texture file.

Door message not appearing:
There's a possibility the is a mistake in the .lang file, causing any text not to show.
It could also be that you wrote the script wrong.

Do show the script, when you're having a script problem

well every other text is appearing i have no idea why
Come on, Thunder, work with me here.
You need to give some information about it.

Is it a script? If yes, show it so we can help you.
Is it a level door? If yes, show it so we can help you.
(06-06-2015, 09:09 AM)FlawlessHappiness Wrote: [ -> ]Come on, Thunder, work with me here.
You need to give some information about it.

Is it a script? If yes, show it so we can help you.
Is it a level door? If yes, show it so we can help you.

Well here my extra english lang
<LANGUAGE>
<RESOURCES>
</RESOURCES>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">This is a test</Entry>

</CATEGORY>

<CATEGORY Name="Messages">
<Entry Name ="doorlock1">The Key Must be Near!</Entry>
<Entry Name ="doorlock2">This Door is Locked!</Entry>

</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_key1">Hallway key</Entry>
<Entry Name="ItemName_key1">Hallway key</Entry>
<Entry Name="ItemDesc_key2">Bedroom key</Entry>
<Entry Name="ItemName_key2">Bedroom key</Entry>

</CATEGORY>


</LANGUAGE>
I dont know what wrong every other message is showing only the level door dont. The level door name is doorlock1
for the key is my bad i tried to change it texture and messed up
(06-06-2015, 09:15 AM)Thund3rb0lt Wrote: [ -> ]<CATEGORY Name="Messages">
<Entry Name ="doorlock1">The Key Must be Near!</Entry>
<Entry Name ="doorlock2">This Door is Locked!</Entry>
</CATEGORY>

Your problem is likely because of the space between Name and =
If it isn't that, then be sure to check your door's properties in the Level Editor. Making sure that the respective fields match correctly.
Pages: 1 2