fuytko
Junior Member
Posts: 41
Threads: 6
Joined: Jun 2011
Reputation:
1
|
RE: My script doesn't work?
(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 CustomSubItemTypeName box..I think that this is problem..
Also use my second script what I've written
(This post was last modified: 08-16-2012, 12:07 PM by fuytko.)
|
|
08-16-2012, 12:00 PM |
|