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
Text code
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#2
RE: Text code

in your script file

void OnStart()
{
AddEntityCollideCallback("Player", "AREA", "FUNCTION", true, 1);
}

void FUNCTION(string &in asEntity)
{
SetMessage("LANG", "ENTITY", 5.0f);
}

extra_lang
<CATEGORY Name="LANG">
<Entry Name="ENTITY">Type the text here you want to be shown</Entry>
</CATEGORY>

change it to your benefit ;D

[Image: 44917299.jpg]Dubstep <3
(This post was last modified: 06-28-2011, 09:24 PM by xtron.)
06-28-2011, 09:23 PM
Find


Messages In This Thread
Text code - by TheDavenia - 06-28-2011, 09:02 PM
RE: Text code - by xtron - 06-28-2011, 09:23 PM
RE: Text code - by TheDavenia - 06-28-2011, 09:25 PM
RE: Text code - by SLAMnesia - 06-29-2011, 09:27 PM
RE: Text code - by TheDavenia - 06-30-2011, 12:28 AM



Users browsing this thread: 1 Guest(s)