elbichopt
Junior Member
Posts: 14
Threads: 2
Joined: Aug 2012
Reputation:
0
|
RE: My script doesn't work?
(08-16-2012, 12:00 PM)fuytko Wrote: (08-16-2012, 11:53 AM)elbichopt Wrote: (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?
I'm almost done Hmm,write fresh_one into CustomSubItemName box..I think that this is problem..
LOL Didn't work. This engine has to be trolling me!
|
|
08-16-2012, 12:05 PM |
|