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
[SOLVED] Super Simple Message Isn't Working ;_;
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#1
[SOLVED] Super Simple Message Isn't Working ;_;

AddEntityCollideCallback("Player", "DadRoom", "DadRoom", true, 1);
}
void DadRoom(string &in asParent, string &in asChild, int alState)
{
    SetMessage("Messages", "DadRoom", 0);
}

Doesn't work :/

I've been fiddling with it for a while, and it refuses to show the message when I enter the area. The name in extra_english is correct, as with the area in the editor.

The Nightmares v1.0 - Dreadful Fires WIP
(This post was last modified: 02-17-2012, 03:26 AM by Strembitsky.)
02-17-2012, 02:07 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: Super Simple Message Isn't Working ;_;

void OnStart()
{
AddEntityCollideCallback("Player", "DadRoom", "DadRoom_func", true, 1);
}
void DadRoom_func(string &in asParent, string &in asChild, int alState)
{
SetMessage("Messages", "DadRoom", 0);
}



//________________

Try that
(This post was last modified: 02-17-2012, 02:17 AM by Statyk.)
02-17-2012, 02:16 AM
Find
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#3
RE: Super Simple Message Isn't Working ;_;

Didn't do it :/

I added a debug message, and it didn't show. The function isn't even getting called :S

The Nightmares v1.0 - Dreadful Fires WIP
(This post was last modified: 02-17-2012, 02:26 AM by Strembitsky.)
02-17-2012, 02:19 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Super Simple Message Isn't Working ;_;

Does everything else related to the extra_english.lang file show up? Also, post the contents of the lang file.

Tutorials: From Noob to Pro
(This post was last modified: 02-17-2012, 02:29 AM by Your Computer.)
02-17-2012, 02:28 AM
Website Find
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#5
RE: Super Simple Message Isn't Working ;_;

Every other message works.

<CATEGORY Name="Messages">
     <Entry Name="DadRoom">This is my father's room.</Entry>
      </CATEGORY>

EDIT: I'm a fucking retard. It was in the wrong .hps.

The Nightmares v1.0 - Dreadful Fires WIP
(This post was last modified: 02-17-2012, 03:25 AM by Strembitsky.)
02-17-2012, 02:58 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#6
RE: Super Simple Message Isn't Working ;_;

(02-17-2012, 02:58 AM)Strembitsky Wrote: EDIT: I'm a fucking retard. It was in the wrong .hps.



I COMPLETELY understand the feeling... I did the same thing a while back. =P
02-17-2012, 03:37 AM
Find




Users browsing this thread: 1 Guest(s)