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 How to create a message script?
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#10
RE: How to create a message script?

Ale równie dobrze możesz ten skrypt z wiadomością wpleść w AddEntityCollideCallback...


void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "Message1", true, 1);
}

void Message1(string &in asChild, string &in asParent, int alState)
{
SetMessage("Messages", "nazwa wiadomosci w pliku lang", 10);
}

"Messages" w skrypcie to jest kategoria z extra english, w tym poradniku masz opisane jak dodać tą kategorię do extra english, a "10" na końcu to czas jaki ma byc wyswietlona wiadomość.
(This post was last modified: 03-30-2014, 07:56 PM by Slanderous.)
03-30-2014, 07:56 PM
Find


Messages In This Thread
How to create a message script? - by MaksoPL - 03-30-2014, 07:18 PM
RE: How to create a message script? - by Mudbill - 03-30-2014, 07:28 PM
RE: How to create a message script? - by MaksoPL - 03-30-2014, 07:34 PM
RE: How to create a message script? - by 7heDubz - 03-30-2014, 07:36 PM
RE: How to create a message script? - by MaksoPL - 03-30-2014, 07:43 PM
RE: How to create a message script? - by 7heDubz - 03-30-2014, 07:45 PM
RE: How to create a message script? - by MaksoPL - 03-30-2014, 07:50 PM
RE: How to create a message script? - by MaksoPL - 03-30-2014, 07:52 PM
RE: How to create a message script? - by Slanderous - 03-30-2014, 07:56 PM
RE: How to create a message script? - by 7heDubz - 03-30-2014, 08:03 PM
RE: How to create a message script? - by 7heDubz - 03-30-2014, 08:34 PM



Users browsing this thread: 1 Guest(s)