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 It doesn't work...
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#1
It doesn't work...

Alright, i have 1 area when players enters area monster shall get activated from Inactive to Active.... i got script done and entered level and nothing pops up... seems like script is fine but still SHE doesn't appear ... i am talking about Girl Scary here is script:

Spoiler below!
PHP Code: (Select All)
void OnStart()
{
AddEntityCollideCallback("Player""Teleport1""Appear"true1);
}

void Appear(string &in asParentstring &in asChildint alState)
{
    
SetNPCAwake("Girl1"truetrue);
    
SetNPCFollowPlayer("Girl1"true);



Area is called Teleport1... monster is called Girl1 i checked that...

03-05-2015, 05:40 PM
Find Reply


Messages In This Thread
It doesn't work... - by Straxedix - 03-05-2015, 05:40 PM
RE: It doesn't work... - by Darkfire - 03-05-2015, 05:51 PM
RE: It doesn't work... - by Straxedix - 03-05-2015, 06:10 PM



Users browsing this thread: 1 Guest(s)