Frictional Games Forum (read-only)

Full Version: Need help on my custom story!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(06-26-2012, 10:39 AM)Your Computer Wrote: [ -> ]Semi-colons aren't supposed to be found in function headers.

main (18,51) : ERR : Expected ')' or ','
main (19,52) : ERR : Expected ')' or ','
main (20,51) : ERR : Expected ')' or ','
main (21,52) : ERR : Expected ')' or ','

Here's that part of the HPS:


void SpawnEnemy1(string &in asParent, string &in asChild, int alState)
{
GiveSanityDamage(35.0f,true);
AddEnemyPatrolNode("Enemy1", "PathNodeArea 1", 0.9r,"");
AddEnemyPatrolNode("Enemy1", "PathNodeArea_2", 30.0t,"");
AddEnemyPatrolNode("Enemy1", "PathNodeArea_3", 0.0r,"");
AddEnemyPatrolNode("Enemy1", "PathNodeArea_4", 30.0t,"");

}

its the path nodes
Fixed!
Pages: 1 2