Hi all, I would script patrol for a brute (I remake my menu ^^) I have placed 2 pathnode, but I don't know the script I have to make in the .hps
(I just write the first line : void OnStart() )
=)
Code:
void OnStart()
{
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 0, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_2", 0, "");
}
Simplified:
AddEnemyPatrolNode("name of monster in the editor", "Name of pathnode", time in seconds the monster stays at the specific location, "");
Also here's a great tutorial:
http://wiki.frictionalgames.com/hpl2/tut...rpathnodes
I have try this but it's not working, I think the player is not "really" there (in the menu) so monster can't be trig
Ooooh totally missed that part...
Sorry but you cant make script a menu.
yes i have see that, I have placed a box in the air but the box doesen't fall and the monster doesen't react
Edit: But I can "Active" the monster with a script
Edit2: Box fall but pass under the floor, I have change floor settings ( activate "collide") but It's doesen't change anything
I delete the box and place the enemy in the air but he doesn't fall
... Look, I don't think it's possible in anyway without mixturing with the source code...