Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help My script doesn't work?
elbichopt Offline
Junior Member

Posts: 14
Threads: 2
Joined: Aug 2012
Reputation: 0
#12
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 Big Grin Hmm,write fresh_one into CustomSubItemName box..I think that this is problem..
[Image: 35wut3.jpg]
LOL Didn't work. This engine has to be trolling me!
08-16-2012, 12:05 PM
Find


Messages In This Thread
My script doesn't work? - by elbichopt - 08-15-2012, 06:09 PM
RE: My script doesn't work? - by Steve - 08-15-2012, 09:01 PM
RE: My script doesn't work? - by elbichopt - 08-15-2012, 10:10 PM
RE: My script doesn't work? - by Adny - 08-15-2012, 10:14 PM
RE: My script doesn't work? - by elbichopt - 08-15-2012, 10:17 PM
RE: My script doesn't work? - by elbichopt - 08-16-2012, 10:35 AM
RE: My script doesn't work? - by fuytko - 08-16-2012, 11:31 AM
RE: My script doesn't work? - by elbichopt - 08-16-2012, 11:42 AM
RE: My script doesn't work? - by fuytko - 08-16-2012, 11:51 AM
RE: My script doesn't work? - by elbichopt - 08-16-2012, 11:53 AM
RE: My script doesn't work? - by fuytko - 08-16-2012, 12:00 PM
RE: My script doesn't work? - by elbichopt - 08-16-2012, 12:05 PM
RE: My script doesn't work? - by fuytko - 08-16-2012, 12:09 PM
RE: My script doesn't work? - by elbichopt - 08-16-2012, 12:11 PM
RE: My script doesn't work? - by ZyLogicX - 08-16-2012, 12:16 PM
RE: My script doesn't work? - by fuytko - 08-16-2012, 12:20 PM
RE: My script doesn't work? - by elbichopt - 08-16-2012, 12:33 PM
RE: My script doesn't work? - by fuytko - 08-16-2012, 12:44 PM
RE: My script doesn't work? - by elbichopt - 08-16-2012, 02:08 PM
RE: My script doesn't work? - by elbichopt - 08-16-2012, 07:36 PM
RE: My script doesn't work? - by TheGreatCthulhu - 08-16-2012, 07:45 PM
RE: My script doesn't work? - by elbichopt - 08-16-2012, 07:47 PM
RE: My script doesn't work? - by Theforgot3n1 - 08-16-2012, 09:11 PM



Users browsing this thread: 3 Guest(s)