The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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


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)