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 Adding note through script
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#1
Adding note through script

Hey there. I want to add a note to the journal in one of the scripts I got in my mod.

I found this on Engine Scripts page, but I don't really understand that function, specifically the "Must end with _Name and _Text". Can someone explain it to silly me? >_>

void AddNote(string& asNameAndTextEntry, string& asImage);
Adds a note to the player's journal.

asNameAndTextEntry - entries in the .lang file. Must end with _Name and _Text and be in category “Journal”!
asImage - the background image to be used

Thanks ahead of time!
(This post was last modified: 06-29-2015, 09:37 PM by Slanderous.)
06-29-2015, 09:32 PM
Find


Messages In This Thread
Adding note through script - by Slanderous - 06-29-2015, 09:32 PM
RE: Adding note through script - by Rahmerh - 06-29-2015, 10:50 PM
RE: Adding note through script - by Slanderous - 06-29-2015, 11:06 PM
RE: Adding note through script - by Rahmerh - 06-29-2015, 11:34 PM



Users browsing this thread: 1 Guest(s)