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
Script Help I don't see what's wrong here
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#8
RE: I don't see what's wrong here

(02-07-2013, 09:09 AM)NaxEla Wrote:
(02-07-2013, 08:50 AM)JustAnotherPlayer Wrote:
PHP Code: (Select All)
void OnStart()

{   
AddEntityCollideCallback("Player""ScriptArea_4""AreaEnable"true1);
AddEntityCollideCallback("Player""ScriptArea_3""MonsterSpawn"true1);

}
void AreaEnable(string &in asParentstring &in asChildint alState)

{

    
SetEntityActive("ScriptArea_4"true);

}
void MonsterSpawn(string &in asParentstring &in asChildint alState)

{

    
SetEntityActive("servant_brute_2"true);

    
AddEnemyPatrolNode("servant_brute_2""PathNodeArea_5"0"");

    
AddEnemyPatrolNode("servant_brute_2""PathNodeArea_6"0"");

    
AddEnemyPatrolNode("servant_brute_2""PathNodeArea_7"0"");

    
AddEnemyPatrolNode("servant_brute_2""PathNodeArea_8"0"");

    
AddEnemyPatrolNode("servant_brute_2""PathNodeArea_9"0"");

    
AddEnemyPatrolNode("servant_brute_2""PathNodeArea_10"0"");

    
AddEnemyPatrolNode("servant_brute_2""PathNodeArea_11"0"");


My Script. Try it out.

It seems like all you did was change the function names...?

To OP: You might have a .map_cache file in your virtual store. The path will be something like this:
C:/Users/[USERNAME]/AppData/Local/VirtualStore/ProgramFiles(x86)/Amnesia - The Dark Descent/redist/custom_stories

If that doesn't work, double check that your .map file and .hps have exactly the same names.
Compared it to my script.

"Veni, vidi, vici."
"I came, I saw, I conquered."
02-07-2013, 10:51 AM
Find


Messages In This Thread
I don't see what's wrong here - by Cyphermur9t - 02-07-2013, 08:10 AM
RE: I don't see what's wrong here - by NaxEla - 02-07-2013, 08:28 AM
RE: I don't see what's wrong here - by NaxEla - 02-07-2013, 09:09 AM
RE: I don't see what's wrong here - by PutraenusAlivius - 02-07-2013, 10:51 AM



Users browsing this thread: 1 Guest(s)