elbichopt
Junior Member
Posts: 14
Threads: 2
Joined: Aug 2012
Reputation:
0
|
RE: My script doesn't work?
(08-16-2012, 11:31 AM)fuytko Wrote: Try this!
///////////////////////////
//Run when entering map
void OnStart()
{
SetEntityPlayerInteractCallback("fresh_one", "ActivateMonster", true);
}
void ActivateMonster(string &in asEntity)
{
SetEntityActive("grunt", true);
AddEnemyPatrolNode("grunt", "PathNodeArea_1", 0, "Idle");
AddEnemyPatrolNode("grunt", "PathNodeArea_2", 0, "Idle");
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
}
/////////////////////////////
// Run when leaving map
void OnLeave()
{
}
Nothing :\
Thank you for your time though...
|
|
08-16-2012, 11:42 AM |
|