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 script help
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#4
RE: script help

Try this
{
AddEntityCollideCallback("Player", "Monster_Deactivate_1", "DeactivateGrunt", true, 1);
}

void DeactivateGrunt(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_grunt_2", false);
}
The addentitycollidecallback had player and i think its supposed to be capitalized like Player try that


04-04-2012, 06:00 PM
Find


Messages In This Thread
script help - by zombiehacker595 - 04-04-2012, 12:15 PM
RE: script help - by Cranky Old Man - 04-04-2012, 12:39 PM
RE: script help - by JetlinerX - 04-04-2012, 03:46 PM
RE: script help - by Datguy5 - 04-04-2012, 06:00 PM
RE: script help - by jessehmusic - 04-04-2012, 06:48 PM
RE: script help - by Putmalk - 04-04-2012, 07:53 PM
RE: script help - by Datguy5 - 04-04-2012, 08:01 PM
RE: script help - by Putmalk - 04-04-2012, 09:15 PM



Users browsing this thread: 1 Guest(s)