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
24/7 fatal errors
Saren Offline
Member

Posts: 196
Threads: 20
Joined: Jan 2012
Reputation: 1
#13
RE: 24/7 fatal errors

(02-13-2012, 10:00 AM)flamez3 Wrote: No, put
AddEntityCollideCallback("Player", "PlayerCollide", "MonsterFunction", true, 1);


in void OnStart()
Oooh, I thought you meant the other 1, I'll try that
Edit: You want it to look like that correct?
//////////////////Foodstorage Grunt void OnStart()
AddEntityCollideCallback("Player", "PlayerCollide", "MonsterFunction", true, 1);
}
void MonsterFunction(string &in asParent, string &in asChild, int alState)
{
SetEnemyIsHallucination("grunt_foodstorage", true);
SetEntityActive("grunt_foodstorage", true);
ShowEnemyPlayerPosition("grunt_foodstorage");
AddEnemyPatrolNode("grunt_foodstorage", "PathNodeArea_1", 2, "");
AddEnemyPatrolNode("grunt_foodstorage", "PathNodeArea_2", 0, "");
AddEnemyPatrolNode("grunt_foodstorage", "PathNodeArea_3", 0, "");
AddEnemyPatrolNode("grunt_foodstorage", "PathNodeArea_4", 0, "");
AddEnemyPatrolNode("grunt_foodstorage", "PathNodeArea_5", 0, "");
AddEnemyPatrolNode("grunt_foodstorage", "PathNodeArea_6", 0, "");
AddEnemyPatrolNode("grunt_foodstorage", "PathNodeArea_7", 0, "");
FadeEnemyToSmoke("grunt_foodstorage", false);
}


(This post was last modified: 02-13-2012, 10:07 AM by Saren.)
02-13-2012, 10:05 AM
Find


Messages In This Thread
24/7 fatal errors - by Saren - 02-13-2012, 12:39 AM
RE: 24/7 fatal errors - by Your Computer - 02-13-2012, 12:43 AM
RE: 24/7 fatal errors - by Juby - 02-13-2012, 12:53 AM
RE: 24/7 fatal errors - by flamez3 - 02-13-2012, 03:45 AM
RE: 24/7 fatal errors - by Your Computer - 02-13-2012, 04:43 AM
RE: 24/7 fatal errors - by flamez3 - 02-13-2012, 06:54 AM
RE: 24/7 fatal errors - by Saren - 02-13-2012, 08:05 AM
RE: 24/7 fatal errors - by flamez3 - 02-13-2012, 08:11 AM
RE: 24/7 fatal errors - by Saren - 02-13-2012, 08:35 AM
RE: 24/7 fatal errors - by flamez3 - 02-13-2012, 09:40 AM
RE: 24/7 fatal errors - by Saren - 02-13-2012, 09:51 AM
RE: 24/7 fatal errors - by flamez3 - 02-13-2012, 10:00 AM
RE: 24/7 fatal errors - by Saren - 02-13-2012, 10:05 AM
RE: 24/7 fatal errors - by flamez3 - 02-13-2012, 10:15 AM
RE: 24/7 fatal errors - by Saren - 02-13-2012, 10:22 AM
RE: 24/7 fatal errors - by flamez3 - 02-13-2012, 10:38 AM
RE: 24/7 fatal errors - by Saren - 02-13-2012, 11:04 AM
RE: 24/7 fatal errors - by flamez3 - 02-13-2012, 11:15 AM
RE: 24/7 fatal errors - by Saren - 02-13-2012, 11:30 AM
RE: 24/7 fatal errors - by flamez3 - 02-13-2012, 12:24 PM
RE: 24/7 fatal errors - by Saren - 02-13-2012, 12:34 PM
RE: 24/7 fatal errors - by Your Computer - 02-13-2012, 08:58 PM



Users browsing this thread: 1 Guest(s)