The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Script Help Error with memento
MaksoPL Offline
Member

Posts: 51
Threads: 26
Joined: Mar 2014
Reputation: 0
#1
Error with memento

I created the memento.
1.Memento is writed on start level, not when i go to the script area.
2.When i click "M" to see memento's there isn't a memento. One text: "Memento isn't avaiable."

What i must do?
This is hps file:

void OnStart()
{
AddQuest("memento1", "Quest_Castle1_Text");
CompleteQuest("memento1", "Quest_Castle1_Text");
AddEntityCollideCallback("Player", "MessageScript1", "Message1", true, 1);
}

void Message1(string &in asChild, string &in asParent, int alState)
{
SetMessage("Messages", "DanielSay1", 10);
}


This is a journal lines from .lang file:

<CATEGORY Name="Journal">

<Entry Name="Note_note1_Name">
Info dla sluzby
</Entry>

<Entry Name="Note_note1_Text">
Droga Sluzbo, [br][br] Przepraszam za rozbicie okna, ale pojawil sie jakis stwor. Zaczal mnie atakowac, i rozbijajac okno, wypadl z niego. Mysle ze bladzi gdzies po lesie, ale nie wiem gdzie. Jestem ciekaw, do kogo nalezal zamek. Znalazlem w bibliotece ksiazke, i pisze tam ze zostal wybudowany w 1482r. Mamy teraz 1622r. wiec mozemy sie tylko domyslac. Znalezlismy jakiegos czlowieka w zrujnowanym sanktuarium. Byl bardzo slaby. Powiedzial tylko: [br][br] "Nazywam sie Alexander" i "Zabijcie Daniela" [br][br] O co mu chodzilo? Nie wiem. Jeszcze raz przepraszam za rozbicie okna.
</Entry>

<Entry Name="Note_note2_Name">
Ogloszenie
</Entry>

<Entry Name="Note_note2_Text">
Dnia 3.09.1986r.-5.09.1986r. Elektrownia zamknieta.
</Entry>

<Entry Name="Note_note_Name">
The End...
</Entry>

<Entry Name="Note_note_Text">

<Entry Name="Quest_Castle1_Text">Dostan sie do zamku</Entry>

</Entry>

</CATEGORY>

What i must do? Please help me.
(This post was last modified: 11-18-2014, 01:27 PM by MaksoPL.)
11-18-2014, 01:12 PM
Find


Messages In This Thread
Error with memento - by MaksoPL - 11-18-2014, 01:12 PM
RE: Error with memento - by FlawlessHappiness - 11-18-2014, 02:01 PM
RE: Error with memento - by Romulator - 11-18-2014, 02:13 PM
RE: Error with memento - by Mudbill - 11-18-2014, 02:34 PM
RE: Error with memento - by MaksoPL - 11-18-2014, 03:46 PM
RE: Error with memento - by Mudbill - 11-18-2014, 04:39 PM
RE: Error with memento - by MaksoPL - 11-18-2014, 04:50 PM
RE: Error with memento - by Mudbill - 11-18-2014, 07:20 PM



Users browsing this thread: 1 Guest(s)