06-04-2012, 02:27 AM
{
AddEntityCollideCallback("Player", "brutespawn_1", "func_brutespawn_1", true, 1);
}
void func_brutespawn_1(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_brute_1", true);
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_37", 0.5, "");
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_38", 0.5, "");
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_39", 0.5, "");
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_40", 0.5, "");
}
http://24.media.tumblr.com/tumblr_m52k8k...1_1280.jpg
the brute is named as servant_brute_1 and the pathnodes are correctly numbered, but when i step through the door in game into the area box nothing happens :c
It's supposed to be a quick, hard scare, but if it won't activate it's not very scary at all! :'c
AddEntityCollideCallback("Player", "brutespawn_1", "func_brutespawn_1", true, 1);
}
void func_brutespawn_1(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_brute_1", true);
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_37", 0.5, "");
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_38", 0.5, "");
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_39", 0.5, "");
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_40", 0.5, "");
}
http://24.media.tumblr.com/tumblr_m52k8k...1_1280.jpg
the brute is named as servant_brute_1 and the pathnodes are correctly numbered, but when i step through the door in game into the area box nothing happens :c
It's supposed to be a quick, hard scare, but if it won't activate it's not very scary at all! :'c