PutraenusAlivius
Posting Freak
Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation:
119
|
Memory Capsules' Text
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?
"Veni, vidi, vici."
"I came, I saw, I conquered."
|
|
02-05-2013, 11:43 AM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
RE: Memory Capsules' Text
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.
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
Trying is the first step to success.
|
|
02-05-2013, 11:50 AM |
|
PutraenusAlivius
Posting Freak
Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation:
119
|
RE: Memory Capsules' Text
(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.
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 Thanks!!!!!!
P.S How do you add a memento?
"Veni, vidi, vici."
"I came, I saw, I conquered."
|
|
02-05-2013, 11:52 AM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
RE: Memory Capsules' Text
Quests
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”!
Trying is the first step to success.
|
|
02-05-2013, 11:54 AM |
|
PutraenusAlivius
Posting Freak
Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation:
119
|
RE: Memory Capsules' Text
(02-05-2013, 11:54 AM)BeeKayK Wrote: Quests
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”! Do i have to write something in the void OnStart() part?
"Veni, vidi, vici."
"I came, I saw, I conquered."
|
|
02-05-2013, 12:05 PM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
RE: Memory Capsules' Text
Nothing It is a simple line that you put into another callback
Trying is the first step to success.
|
|
02-05-2013, 12:27 PM |
|
PutraenusAlivius
Posting Freak
Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation:
119
|
RE: Memory Capsules' Text
(02-05-2013, 12:27 PM)BeeKayK Wrote: Nothing It is a simple line that you put into another callback OK. I guess this thread is "declared" solved! Get it? 'cause the script has declarations and the word "declared" got a "" sign.
"Veni, vidi, vici."
"I came, I saw, I conquered."
|
|
02-05-2013, 12:31 PM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
RE: Memory Capsules' Text
Yes... yes i get it...
Trying is the first step to success.
|
|
02-05-2013, 12:47 PM |
|
No Author
Posting Freak
Posts: 962
Threads: 10
Joined: Jun 2012
Reputation:
13
|
RE: Memory Capsules' Text
Hey, this is maybe a little off topic.
But, how do I edit a thread? Edit the options of the thread ?
|
|
02-05-2013, 12:55 PM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
RE: Memory Capsules' Text
A thread? You mean on the forum or?
Trying is the first step to success.
|
|
02-05-2013, 01:01 PM |
|
|