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
Can I ask you something(code)
888t Offline
Junior Member

Posts: 4
Threads: 2
Joined: Mar 2013
Reputation: 0
#1
Can I ask you something(code)

I don't know why it doesn work properly!

AddEntityCollideCallback("Player", "messageline", "startmessage", true, 1)
--
void startmessage(string &in asParent, string &in asChild, int alState) {
StartPlayerLookAt("agrippa", 1, 1, "");
SetPlayerActive(false);
SetMessage("Messages", "m1", 0);
AddTimer("timer1", 2.3f, "");
SetMessage("Messages", "m2", 0);
AddTimer("timer2", 2.3f, "");
SetMessage("Messages", "m3", 0);
AddTimer("timer3", 2.3f, "");
SetMessage("Messages", "m4", 0);
GiveItemFromFile("key_study", "key_study_ent");
SetEntityActive("brute2", true);
StopPlayerLookAt();
SetPlayerActive(true);
AddEnemyPatrolNode("brute2", "breakthrough", 0, "");
SetMessage("Messages", "m5", 0);
AddTimer("timer4", 2.0f, "");
SetMessage("Messages", "m6", 0);
}

is there any other way that show messages better than above??

when collide It only show the last message(m6) and doesn't look at agrippa .
(This post was last modified: 03-24-2013, 01:08 PM by 888t.)
03-24-2013, 01:06 PM
Find


Messages In This Thread
Can I ask you something(code) - by 888t - 03-24-2013, 01:06 PM
RE: Can I ask you something(code) - by Hardarm - 03-24-2013, 01:19 PM
RE: Can I ask you something(code) - by 888t - 03-24-2013, 04:42 PM



Users browsing this thread: 1 Guest(s)