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
Killing Monsters
vanjavk Offline
Member

Posts: 54
Threads: 5
Joined: Sep 2010
Reputation: 0
#6
RE: Killing Monsters

(10-08-2010, 01:37 PM)Pandemoneus Wrote: Yes it is possible, although you can't "kill" monsters.

void OnStart()
{
    AddEntityCollideCallback("servant_grunt_1", "box", "KillGrunt", true, 1);
}

void KillGrunt(string &in asParent, string &in asChild, int alState)
{
    FadeEnemyToSmoke(asParent, true);
}

I got an enemy (servant_grunt_1) and a box (box). When either collide, KillGrunt will be triggered and the enemy disappears. That means that enemies will disappear when they move against boxes too though.

Here's the map:
http://www.mediafire.com/?zpua0p38j9404sj

thank you very much Smile it will be used in my map Big Grin

vanjavk
04-17-2011, 07:12 PM
Find


Messages In This Thread
Killing Monsters - by TheWhiteDreamsOfLife - 10-08-2010, 12:58 AM
RE: Killing Monsters - by Chilton - 10-08-2010, 03:20 AM
RE: Killing Monsters - by Pandemoneus - 10-08-2010, 01:37 PM
RE: Killing Monsters - by Chilton - 10-08-2010, 04:41 PM
RE: Killing Monsters - by vanjavk - 04-17-2011, 07:12 PM
RE: Killing Monsters - by nofsky - 10-12-2010, 03:32 AM
RE: Killing Monsters - by skypeskype - 04-17-2011, 07:25 PM
RE: Killing Monsters - by bobbo - 05-14-2011, 08:25 AM
RE: Killing Monsters - by Peanuckle - 04-17-2011, 07:26 PM
RE: Killing Monsters - by MrBigzy - 04-17-2011, 07:34 PM
RE: Killing Monsters - by Dalroc - 04-17-2011, 07:55 PM
RE: Killing Monsters - by MrBigzy - 05-13-2011, 11:11 PM
RE: Killing Monsters - by Acies - 05-14-2011, 12:23 AM
RE: Killing Monsters - by dragonlordsd - 05-14-2011, 02:10 AM
RE: Killing Monsters - by MrBigzy - 05-14-2011, 02:33 PM
RE: Killing Monsters - by bobbo - 05-14-2011, 09:24 PM
RE: Killing Monsters - by Anxt - 05-14-2011, 08:22 PM
RE: Killing Monsters - by Kyle - 05-14-2011, 08:28 PM
RE: Killing Monsters - by Anxt - 05-14-2011, 08:42 PM
RE: Killing Monsters - by Kyle - 05-14-2011, 08:45 PM
RE: Killing Monsters - by Anxt - 05-14-2011, 08:46 PM
RE: Killing Monsters - by Acies - 05-14-2011, 08:49 PM
RE: Killing Monsters - by Anxt - 05-14-2011, 08:52 PM
RE: Killing Monsters - by Acies - 05-14-2011, 08:57 PM
RE: Killing Monsters - by Anxt - 05-14-2011, 08:59 PM
RE: Killing Monsters - by Kyle - 05-14-2011, 09:06 PM
RE: Killing Monsters - by MrBigzy - 05-14-2011, 09:53 PM
RE: Killing Monsters - by Anxt - 05-14-2011, 09:56 PM
RE: Killing Monsters - by Karai16 - 05-15-2011, 02:25 AM
RE: Killing Monsters - by Anxt - 05-15-2011, 03:03 AM
RE: Killing Monsters - by Karai16 - 05-15-2011, 08:53 AM
RE: Killing Monsters - by Angerpull - 07-23-2011, 07:48 PM



Users browsing this thread: 1 Guest(s)