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
Problem with enemy not disappearing
JoeBradleyUK Offline
Member

Posts: 115
Threads: 20
Joined: Jul 2011
Reputation: 0
#9
RE: Problem with enemy not disappearing

(10-16-2011, 07:17 PM)Unearthlybrutal Wrote: How about this? Does anything?

Spoiler below!

void OnStart()
{
AddEntityCollideCallback("ScareMonsterTwo", "ScareTwoMonsterDisappear", "ScareTwoMonsterVanish", false, 1);
}

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






AddEntityCollideCallback("ScareMonsterTwo", "ScareTwoMonsterDisappear", "ScareTwoMonsterVanish", true, 1);
--->
AddEntityCollideCallback("ScareMonsterTwo", "ScareTwoMonsterDisappear", "ScareTwoMonsterVanish", false, 1);

I found the problem, it wasn't what you said, it was just a silly mistake by me....again....I really need a proof reader >.< I changed The "ScareMonsterTwo" to "ScareTwoMonster" as it should be.

:Work In Progress:
Insanity
(This post was last modified: 10-18-2011, 03:13 PM by JoeBradleyUK.)
10-18-2011, 03:06 PM
Find


Messages In This Thread
RE: Problem with patrol nodes - by JoeBradleyUK - 10-16-2011, 11:25 AM
RE: Problem with patrol nodes - by JoeBradleyUK - 10-16-2011, 04:41 PM
RE: Problem with patrol nodes - by JoeBradleyUK - 10-16-2011, 05:15 PM
RE: Problem with enemy not disappearing - by JoeBradleyUK - 10-18-2011, 03:06 PM



Users browsing this thread: 1 Guest(s)