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
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#5
RE: I don't see what's wrong here

(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.

In Ruins [WIP]
02-07-2013, 09:09 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



Users browsing this thread: 2 Guest(s)