Frictional Games Forum (read-only)
Need help on my custom story! - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Need help on my custom story! (/thread-16502.html)

Pages: 1 2


RE: Need help on my custom story! - TerrorsEnd - 06-26-2012

(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


RE: Need help on my custom story! - TerrorsEnd - 06-26-2012

Fixed!