Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Adding mementos to locked doors?
ZeroPie Offline
Junior Member

Posts: 15
Threads: 2
Joined: Apr 2012
Reputation: 0
#5
RE: Adding mementos to locked doors?

(11-04-2012, 07:54 PM)Tigerwaw Wrote:
(11-04-2012, 07:40 PM)ZodiaC Wrote: did you create a lang file?
Yes, of course

(11-04-2012, 07:44 PM)The chaser Wrote: So, the whole script would look like this:
void DoorLockedPlayer(string &in entity)


{
if(GetSwingDoorLocked("EXAMPLE_DOOR") == true)
{

AddQuest(string& asName, string& asNameAndTextEntry);

}
What am I supposed to write into the .lang file and where should I write the name for the memento that is in the .lang file?
<Entry Name="Quest_MyQuest_Text">TEXT HERE</Entry>
Must be in .lang category Journal
And the script would like this: AddQuest("myquest", "MyQuest");
To complete a Momento(aka. quest) you just script this: CompleteQuest("myquest", "MyQuest");
So basicly the same but instead of 'Add' just type in 'Complete'.
Hope it helps.
11-04-2012, 11:18 PM
Find


Messages In This Thread
Adding mementos to locked doors? - by Tiger - 11-04-2012, 07:36 PM
RE: Adding mementos to locked doors? - by ZodiaC - 11-04-2012, 07:40 PM
RE: Adding mementos to locked doors? - by Tiger - 11-04-2012, 07:54 PM
RE: Adding mementos to locked doors? - by ZeroPie - 11-04-2012, 11:18 PM
RE: Adding mementos to locked doors? - by Tiger - 11-04-2012, 11:19 PM
RE: Adding mementos to locked doors? - by ZeroPie - 11-05-2012, 02:01 AM
RE: Adding mementos to locked doors? - by Tiger - 11-05-2012, 12:36 PM
RE: Adding mementos to locked doors? - by Tiger - 11-05-2012, 01:17 PM
RE: Adding mementos to locked doors? - by Tiger - 11-05-2012, 04:03 PM
RE: Adding mementos to locked doors? - by Tiger - 11-05-2012, 05:34 PM
RE: Adding mementos to locked doors? - by Adny - 11-06-2012, 11:30 AM
RE: Adding mementos to locked doors? - by craven7 - 11-06-2012, 02:16 PM
RE: Adding mementos to locked doors? - by Tiger - 11-06-2012, 04:04 PM
RE: Adding mementos to locked doors? - by Tiger - 11-06-2012, 04:28 PM
RE: Adding mementos to locked doors? - by craven7 - 11-06-2012, 05:29 PM
RE: Adding mementos to locked doors? - by Tiger - 11-06-2012, 08:31 PM
RE: Adding mementos to locked doors? - by Tiger - 11-06-2012, 08:43 PM
RE: Adding mementos to locked doors? - by craven7 - 11-06-2012, 08:38 PM



Users browsing this thread: 1 Guest(s)