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
Error when i change map to map2 in a custom story (SOLVED)
Cendrillion Offline
Junior Member

Posts: 8
Threads: 2
Joined: Sep 2012
Reputation: 0
#3
RE: Error when i change map to map2 in a custom story

This is what it appears when i try to change the zone.

FATAL ERROR: Could not load script file "custo_stories/LA PRUEBA/maps/CTonguerogram Files/Steam/Steamapps/common/Amnesia The Dark Descent/custom_stories/LA PRUEBA/maps/LA PRUEBA3.hps'! ExecuteString (1, 1): ERR : No matching signatures to 'OnGameStart()' main (5,17): ERR : Expected '('

and this is the only script im running in the map "LA PRUEBA3":


void OnStart()
{
AddEntityCollideCallback("Player", "brute2", "area_brute2", true, 1);
}
void nombre accion(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_grunt_1", true);
PlaySoundAtEntity("", "nombre sonido", "Player", 0, false);
GiveSanityDamage(30.0f, true);
}
void OnLeave()
{
}

void OnEnter()
{
}

-----------------------------------------------------------------

the same script in the main zone works perfectly.
09-23-2012, 09:47 AM
Find


Messages In This Thread
RE: Error when i change map to map2 in a custom story - by Cendrillion - 09-23-2012, 09:47 AM



Users browsing this thread: 1 Guest(s)