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
names problem
rojkish Offline
Junior Member

Posts: 45
Threads: 0
Joined: Jun 2011
Reputation: 0
#9
RE: names problem

(06-22-2011, 09:45 PM)xtron Wrote: where to write the entry? *cute eyes*

You put the entry and the language category in the extra_english.lang file.

Example:

Spoiler below!

voidOnStart()
{
SetEntityPlayerInteractCallback("mansion_1", "Message", true);
//When the player interacts with the door "mansion_1", the function "Message" happens
}

void Message(string &in asEntity)
{
SetMessage("Doors", "mansion_1", 5.0f);
//The language category is "Doors" and the entry is "mansion_1"
}

in the extra_english file you write;

<CATEGORY Name="Doors">
<Entry Name="mansion_1">It won't budge.</Entry>
</CATEGORY>


06-23-2011, 01:37 AM
Find


Messages In This Thread
names problem - by xtron - 06-20-2011, 12:59 AM
RE: names problem - by DamnNoHtml - 06-20-2011, 03:13 AM
RE: names problem - by TFEF - 06-20-2011, 07:04 AM
RE: names problem - by xtron - 06-22-2011, 02:24 PM
RE: names problem - by WatzUpzPeepz - 06-22-2011, 07:33 PM
RE: names problem - by laser50 - 06-22-2011, 02:32 PM
RE: names problem - by xtron - 06-22-2011, 09:45 PM
RE: names problem - by WatzUpzPeepz - 06-22-2011, 09:49 PM
RE: names problem - by rojkish - 06-23-2011, 01:37 AM
RE: names problem - by xtron - 06-24-2011, 01:08 PM
RE: names problem - by rojkish - 06-24-2011, 03:50 PM
RE: names problem - by WatzUpzPeepz - 06-24-2011, 04:29 PM
RE: names problem - by rojkish - 06-24-2011, 04:35 PM
RE: names problem - by xtron - 06-24-2011, 04:46 PM
RE: names problem - by WatzUpzPeepz - 06-24-2011, 05:58 PM
RE: names problem - by rojkish - 06-24-2011, 07:00 PM
RE: names problem - by xtron - 06-24-2011, 11:57 PM



Users browsing this thread: 1 Guest(s)