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
Help with monster activation[SOLVED]
Rownbear Offline
Member

Posts: 157
Threads: 13
Joined: Apr 2011
Reputation: 2
#1
Help with monster activation[SOLVED]

I want to activate a grunt when I pick up the crowbar but i keep getting error on my script, Unexpected token {. goes away when i remove this part and I dunno what's wrong

Spoiler below!

void OnStart()
{
AddEntityCollideCallback("Player", "crowbar_1", "MonsterActivate1", true);
}

void MonsterActivate1(string& asName, bool abActive);
{
SetEntityActive("servant_grunt_1", true);
}


please help
(This post was last modified: 04-14-2011, 09:33 AM by Rownbear.)
04-13-2011, 06:57 PM
Find


Messages In This Thread
Help with monster activation[SOLVED] - by Rownbear - 04-13-2011, 06:57 PM
RE: Help with monster activation - by Kraggdog - 04-13-2011, 07:16 PM
RE: Help with monster activation - by Rownbear - 04-13-2011, 07:20 PM
RE: Help with monster activation - by palistov - 04-14-2011, 02:12 AM
RE: Help with monster activation - by Rownbear - 04-14-2011, 09:32 AM



Users browsing this thread: 1 Guest(s)