fuytko
Junior Member
Posts: 41
Threads: 6
Joined: Jun 2011
Reputation:
1
|
RE: My script doesn't work?
(08-16-2012, 12:05 PM)elbichopt Wrote: (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!
 I'm angry too,going to try that on test custom story,wait..
|
|
08-16-2012, 12:09 PM |
|