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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display messages
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#1
Display messages

hey guys,

i wanted to display a message when the player starts. but just doesnt works.

this is in the .hps :
AddTimer("intro_message", 5, "SetMessage");

void SetMessage(string &in timer_name)
{
SetMessage("DisplayMessages", "IntroMessage", 0);
}

and this in the .lang :
<Category Name="DisplayMessages">
<Entry Name="IntroMessage">whatever</Entry>
</Category>

where is my mistake?

When you are looking for someone, to do the scripting for your Custom Story, ask me!
02-08-2013, 05:05 PM
Find


Messages In This Thread
Display messages - by tonitoni1998 - 02-08-2013, 05:05 PM
RE: Display messages - by MulleDK19 - 02-08-2013, 05:06 PM
RE: Display messages - by tonitoni1998 - 02-08-2013, 05:09 PM
RE: Display messages - by MulleDK19 - 02-08-2013, 05:09 PM
RE: Display messages - by tonitoni1998 - 02-08-2013, 05:11 PM
RE: Display messages - by MulleDK19 - 02-08-2013, 05:12 PM
RE: Display messages - by tonitoni1998 - 02-08-2013, 05:17 PM
RE: Display messages - by MulleDK19 - 02-08-2013, 05:21 PM
RE: Display messages - by tonitoni1998 - 02-08-2013, 05:24 PM
RE: Display messages - by FlawlessHappiness - 02-08-2013, 05:47 PM
RE: Display messages - by MulleDK19 - 02-08-2013, 05:48 PM
RE: Display messages - by FlawlessHappiness - 02-08-2013, 05:58 PM
RE: Display messages - by MulleDK19 - 02-08-2013, 06:02 PM
RE: Display messages - by FlawlessHappiness - 02-08-2013, 06:05 PM
RE: Display messages - by MulleDK19 - 02-08-2013, 06:05 PM
RE: Display messages - by Tiger - 02-08-2013, 06:09 PM
RE: Display messages - by MulleDK19 - 02-08-2013, 06:10 PM
RE: Display messages - by FlawlessHappiness - 02-08-2013, 06:11 PM
RE: Display messages - by tonitoni1998 - 02-08-2013, 11:06 PM



Users browsing this thread: 3 Guest(s)