The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
My "emotionstone" isn't displaying the message!
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#1
My "emotionstone" isn't displaying the message!

So I'm making a "thank you" room and I want to use the "emotion_stone" as a way to show the message. I put it in the map, scripted the function and I wrote the extra_english.lang. But when I play the map, the message doesn't show up when I touch the stone.the screen fades to white but the message doesn't show. Should I use a different interaction script? In case you want to look at it, Here's my script...:
___________________________
void OnEnter() //Map is entered through a hidden area box and ChangeMap script, it is not started.
{
SetEntityPlayerInteractCallback("thankyoubox1", "thankyoulog", false);
}

//THANK YOU STONE
void thankyoulog(string &in asParent, string &in asChild, int alState)
{
StartEffectEmotionFlash("thankyou_list", "thankyounini", "03_in_a_bottle.snt");
}
___________________________
//Here's the extra_english.lang file:

<LANGUAGE>
<CATEGORY Name="thankyou_list">
<Entry Name="thankyounini">I leave my regards here to:
BLAH BLAH BLAH...............................................................................
.........................................
.....................................................
.....................................................................
................................
</Entry>
</CATEGORY>
</LANGUAGE>
________________________

NEVERMIND! I went into the original maps and figured out all I have to do is put in the labels ON the emotion_stone entity and it will automatically read it.
(This post was last modified: 10-09-2011, 05:24 PM by Statyk.)
10-02-2011, 04:44 PM
Find


Messages In This Thread
My "emotionstone" isn't displaying the message! - by Statyk - 10-02-2011, 04:44 PM



Users browsing this thread: 1 Guest(s)