| 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.)
 |