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


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Structure Of Construction
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#6
RE: Structure Of Construction

Add a script area a little in front of the block box. Lets call it ScriptArea_1. Then in your extra_english.lang you can create the message. Lets call it BlockHint inside the category Message.

Script:

void OnStart()
{
     AddEntityCollideCallback("Player", "ScriptArea_1", "Func01", false, 1);
}
void Func01(string &in asParent, string &in asChild, int alState)
{
     SetMessage("Message", "BlockHint", 3);
}

05-29-2011, 07:29 PM
Find


Messages In This Thread
Structure Of Construction - by X4anco - 05-29-2011, 05:39 PM
RE: Structure Of Construction - by laser50 - 05-29-2011, 05:52 PM
RE: Structure Of Construction - by X4anco - 05-29-2011, 05:56 PM
RE: Structure Of Construction - by Apjjm - 05-29-2011, 06:52 PM
RE: Structure Of Construction - by laser50 - 05-29-2011, 06:27 PM
RE: Structure Of Construction - by Kyle - 05-29-2011, 07:29 PM



Users browsing this thread: 1 Guest(s)