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
#4
RE: I don't see what's wrong here

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.

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 02-07-2013, 08:51 AM by PutraenusAlivius.)
02-07-2013, 08:50 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 PutraenusAlivius - 02-07-2013, 08:50 AM
RE: I don't see what's wrong here - by NaxEla - 02-07-2013, 09:09 AM



Users browsing this thread: 1 Guest(s)