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
Why does grunts get alerted?
SilentHideButFine Offline
Member

Posts: 156
Threads: 38
Joined: May 2012
Reputation: 6
#3
RE: Why does grunts get alerted?

(06-18-2012, 08:26 PM)Hartmann Wrote: I have place two grunts in this map. But as soon as i enter they get alerted and start to growl.

What causes this? I havent wrote any script for them. and both of em are poofers



void OnStart()
{
AddEntityCollideCallback("Player", "SpawnMonster", "MonsterEvent", true, 1);
}
void
MonsterEvent
(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servent_grunt_1", true);
SetEntityActive("servent_grunt_2", true);
}

make sure the set the monster unactive on level editor!! Smile

[url= http://www.moddb.com/mods/jessehmusic [/url] ,HOSPITAL OF HORROR MOD
06-19-2012, 10:47 AM
Find


Messages In This Thread
Why does grunts get alerted? - by Hartmann - 06-18-2012, 08:26 PM
RE: Why does grunts get alerted? - by Nice - 06-18-2012, 08:51 PM
RE: Why does grunts get alerted? - by SilentHideButFine - 06-19-2012, 10:47 AM
RE: Why does grunts get alerted? - by Stepper321 - 06-20-2012, 02:33 PM



Users browsing this thread: 1 Guest(s)