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
Is this possible?
P44RTHURN4X Offline
Junior Member

Posts: 35
Threads: 16
Joined: Apr 2012
Reputation: 0
#1
Is this possible?

Hey guys,

I wanna ask you all, is it possible, that when I add a timer with the "if-function", that I... No wait, I want to make it like this:

AddTimer("game_timer", 1.0f, "la_mes");

...

void la_mes(string &in asTimer)
{
if(alState == 1) [When player look on the item, a message come on the screen]
{
SetMessage("Messages", "la_message", 8);
}
}

.lang

<CATEGORY Name="Messages">
<Entry Name="la_message">...message...</Entry>
</CATEGORY>

Is this so right or how have I have to do it that it works like I want?

PS: Sry, I'm german, not pretty good in english Wink



GReeZe' P44
05-26-2012, 09:31 PM
Find


Messages In This Thread
Is this possible? - by P44RTHURN4X - 05-26-2012, 09:31 PM
RE: Is this possible? - by Putmalk - 05-26-2012, 09:35 PM
RE: Is this possible? - by Cranky Old Man - 05-27-2012, 01:04 AM
RE: Is this possible? - by Damascus - 05-27-2012, 06:13 AM
RE: Is this possible? - by Cranky Old Man - 05-27-2012, 06:22 AM
RE: Is this possible? - by Twitchez - 05-27-2012, 03:24 PM
RE: Is this possible? - by FlawlessHappiness - 05-27-2012, 05:48 PM



Users browsing this thread: 1 Guest(s)