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
Scripting noob returns. HALP
Bennick Offline
Member

Posts: 77
Threads: 27
Joined: Apr 2011
Reputation: 0
#1
Scripting noob returns. HALP

Okay, so I'm trying to get it such that when the player picks up the lantern, the monster activates. What did I do wrong?

void OnStart()
{
FadeOut (0);
FadeIn(15);
}

void HasItem("lantern_1", "true");
{
SetNPCAwake("servant_grunt_1", "true", "true");
}

Note: Yes I know the fade on start stuff is for the fade in view. I'm mostly concerned about the second half, obviously, but was wondering if the first contributed to the problem.

Fratricide (title not finalized): 2/7 maps. :D
04-09-2011, 06:50 PM
Find


Messages In This Thread
Scripting noob returns. HALP - by Bennick - 04-09-2011, 06:50 PM
RE: Scripting noob returns. HALP - by Tanshaydar - 04-09-2011, 08:59 PM
RE: Scripting noob returns. HALP - by Youcef - 04-09-2011, 09:11 PM
RE: Scripting noob returns. HALP - by Bennick - 04-10-2011, 06:18 AM
RE: Scripting noob returns. HALP - by Solarn - 04-10-2011, 10:44 AM
RE: Scripting noob returns. HALP - by Youcef - 04-10-2011, 09:33 AM



Users browsing this thread: 1 Guest(s)