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
void SetMessage(string& asTextCategory, string& asTextEntry, float afTime);
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#1
Rainbow  void SetMessage(string& asTextCategory, string& asTextEntry, float afTime);

void SetMessage(string& asTextCategory, string& asTextEntry, float afTime);
Displays a message on the screen.

asTextCategory - the category in the .lang file
asTextEntry - the entry in the .lang file
afTime - determines how long the message is displayed. If time is < =0 then the life time is calculated based on string length.

Now, when it says "the category in the .lang file" what do I name the category? Can I name it anything I want?
Also, when it says "the entry in the .lang file" what do I name the entry? Can I name it anything I want? (I think I can)




Thank You

Special Custom Story for 2 special people!

[Image: LWFcAl]


06-26-2012, 01:55 PM
Find
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#2
RE: void SetMessage(string& asTextCategory, string& asTextEntry, float afTime);

Yes, you can name the category file whatever you want, I suggest you should name it "Messages". You can also name the entry whatever you want! Smile Hope I helped

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
06-26-2012, 01:59 PM
Website Find
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#3
RE: void SetMessage(string& asTextCategory, string& asTextEntry, float afTime);

asTextCategory - // aka "Messages" "Descriptions" "Inventory" and so on. Basicly categories in the .lang file.
asTextEntry - the entry in the .lang file // entry name, for example Category: Inventory Entry name: >"Key_1"<
afTime - determines how long the message is displayed. If time is < =0 then the life time is calculated based on string length. // TIME: HOW MUCH TIME THIS MESSAGE OF YOURS WILL BE DISPLAYED

Hi.
06-26-2012, 02:22 PM
Website Find
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#4
RE: void SetMessage(string& asTextCategory, string& asTextEntry, float afTime);

(06-26-2012, 02:22 PM)CrazyArts Wrote: asTextCategory - // aka "Messages" "Descriptions" "Inventory" and so on. Basicly categories in the .lang file.
asTextEntry - the entry in the .lang file // entry name, for example Category: Inventory Entry name: >"Key_1"<
afTime - determines how long the message is displayed. If time is < =0 then the life time is calculated based on string length. // TIME: HOW MUCH TIME THIS MESSAGE OF YOURS WILL BE DISPLAYED



I already knew that lol... I have it all documented into my computer. Its much easier to find things that way.

Special Custom Story for 2 special people!

[Image: LWFcAl]


06-26-2012, 02:52 PM
Find




Users browsing this thread: 1 Guest(s)