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
Message Won't appear at all.
Gilligan's Hell Offline
Posting Freak

Posts: 851
Threads: 17
Joined: Feb 2012
Reputation: 36
#1
Message Won't appear at all.

In a certain map in my mod i have scripted a message pop up to unnerve the player. I Added the script area, added the correct names and etc.

I Load the map and the message wont appear at all

from map script:
void OnStart()
{
AddEntityCollideCallback("Player", "Messagescare1", "Messagescare1", true, 1);
}

void Message1(string &in asEntity, int alState)
{
SetMessage("Messages", "Messagescare1", 4);
}


from extra_english file:
<Entry Name="Messagescare1">I Think... I'm being watched.</Entry>

Script Area: [Image: 0gbz27y.jpg]

The International Narcotics Traffic
(This post was last modified: 10-10-2013, 06:17 PM by Gilligan's Hell.)
10-10-2013, 06:17 PM
Find
Apfel Offline
Junior Member

Posts: 19
Threads: 3
Joined: Jun 2011
Reputation: 1
#2
RE: Message Won't appear at all.

Hi,

try to exchange this line:

void Message1(string &in asEntity, int alState)


to this one:

void Messagescare1(string &in asParent, string &in asChild, int alState)
10-10-2013, 07:16 PM
Find
Gilligan's Hell Offline
Posting Freak

Posts: 851
Threads: 17
Joined: Feb 2012
Reputation: 36
#3
RE: Message Won't appear at all.

(10-10-2013, 07:16 PM)Apfel Wrote: Hi,

try to exchange this line:

void Message1(string &in asEntity, int alState)


to this one:

void Messagescare1(string &in asParent, string &in asChild, int alState)

Thanks. that fixed the issue.

The International Narcotics Traffic
10-10-2013, 07:34 PM
Find
blueberry Away
Senior Member

Posts: 616
Threads: 11
Joined: May 2013
Reputation: 13
#4
RE: Message Won't appear at all.

It feels like you are teasing us with screenshots XD

[Image: 80912c88643a023617c8c4165f3dad77.png] Gimme a sex~

- Some twat 2014
10-10-2013, 07:56 PM
Find
Gilligan's Hell Offline
Posting Freak

Posts: 851
Threads: 17
Joined: Feb 2012
Reputation: 36
#5
RE: Message Won't appear at all.

(10-10-2013, 07:56 PM)Sergeant Crits Wrote: It feels like you are teasing us with screenshots XD

I know... aren't i evil Big Grin

The International Narcotics Traffic
10-10-2013, 07:59 PM
Find




Users browsing this thread: 1 Guest(s)