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
#5
RE: Problem with patrol nodes

I found the problem, it was the fact that I didn't make the entity active to start with ^^

I have another though now, it's that when the monster walks into an area, it fades to smoke, and it doesn't seem to want to. -.-

Here's the script for that particular bit:

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

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

:Work In Progress:
Insanity
(This post was last modified: 10-16-2011, 04:42 PM by JoeBradleyUK.)
10-16-2011, 04:41 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



Users browsing this thread: 1 Guest(s)