02-05-2013, 11:43 AM
Hey, i just wanna know how to make a memory capsules text? Like when you click on an object, then a word shows up? I need it for my CS.
PS : How do you add a memento?
PS : How do you add a memento?
(02-05-2013, 11:50 AM)BeeKayK Wrote: [ -> ]There is an interaction-tab inside any entity. If you write something in it, a callback with the same name as what you wrote will be called when you click the object.Thanks!!!!!!
If there is no interaction-tab then cover it in a script area.
Let's say you wrote "InteractNote"
void InteractNote(string &in asEntity)
{
SetMessage("MessageCategory", "MessageEntry", 0);
}
The messages are stored in your .lang file
(02-05-2013, 11:54 AM)BeeKayK Wrote: [ -> ]QuestsDo i have to write something in the void OnStart() part?
void AddQuest(string& asName, string& asNameAndTextEntry);
Adds a quest to the player's journal.
asName - the internal name to be used
asNameAndTextEntry - entry in the .lang file. Must start with “Quest_<texthere>_Text”, and be in category “Journal”!
void CompleteQuest(string& asName, string& asNameAndTextEntry);
Completes a quest.
asName - the internal name of the quest
asNameAndTextEntry - entry in the .lang file. Must start with ” Quest_<texthere>_Text ”, and be in category “Journal”!
(02-05-2013, 12:27 PM)BeeKayK Wrote: [ -> ]Nothing It is a simple line that you put into another callbackOK. I guess this thread is "declared" solved! Get it? 'cause the script has declarations and the word "declared" got a "" sign.