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
Custom Story Message Problem
Anonymous2343 Offline
Junior Member

Posts: 10
Threads: 5
Joined: Jul 2012
Reputation: 0
#1
Custom Story Message Problem

I am in the progress of making a custom story, and I have it so that it displays a message when you walk into a script area. It's set to show for 1 second, but it doesn't go away, it just stays up. This is the code:


Spoiler below!

void Spawn_Library_Monster_1(string &in asParent, string &in asChild, int alstate)
{
SetMessage("Messages", "Message01", 60.0f);
SetEntityActive("servant_grunt_1", true);
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 0.0f, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_2", 0.0f, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_3", 0.0f, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_4", 0.0f, "");
}


What is wrong with it?
07-03-2012, 08:24 PM
Find


Messages In This Thread
Custom Story Message Problem - by Anonymous2343 - 07-03-2012, 08:24 PM
RE: Custom Story Message Problem - by HumiliatioN - 07-04-2012, 05:14 PM
RE: Custom Story Message Problem - by DaAinGame - 07-04-2012, 08:17 PM
RE: Custom Story Message Problem - by Cruzore - 07-04-2012, 08:28 PM
RE: Custom Story Message Problem - by MaZiCUT - 07-04-2012, 09:27 PM



Users browsing this thread: 1 Guest(s)