elbichopt
Junior Member
Posts: 14
Threads: 2
Joined: Aug 2012
Reputation:
0
|
RE: My script doesn't work?
(08-16-2012, 11:51 AM)fuytko Wrote: ///////////////////////////
//Run when entering map
void OnStart()
{
SetEntityPlayerInteractCallback("fresh_one", "ActivateMonster", true);
}
void ActivateMonster(string &in asEntity)
{
SetEntityActive("grunt", true);
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
AddEnemyPatrolNode("grunt", "PathNodeArea_1", 0.0f, "");
AddEnemyPatrolNode("grunt", "PathNodeArea_2", 0.0f, "");
}
/////////////////////////////
// Run when leaving map
void OnLeave()
{
}
This one must work! I'm raging out here! LOL It didn't work...
Can it be because of the light?
(This post was last modified: 08-16-2012, 11:54 AM by elbichopt.)
|
|
08-16-2012, 11:53 AM |
|