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
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#5
RE: script help

(04-04-2012, 12:15 PM)zombiehacker595 Wrote: AddEntityCollideCallback("player", "Monster_Deactivate_1", "DeactivateGrunt", true, 1);
}

void DeactivateGrunt(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_grunt_2", false);
}

is there anything wrong in that i get no error but the script doesnt work by the names you should know what i am trying to do so is anything wrong in it?
{
AddEntityCollideCallback("player", "Monster_Deactivate_1", "DeactivateGrunt", true, 1);
}

void DeactivateGrunt(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_grunt_2", false);
}



try that

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-04-2012, 06:48 PM
Website 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)