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 Problem!
MrCookieh Offline
Member

Posts: 157
Threads: 8
Joined: Jul 2011
Reputation: 0
#6
RE: Script Problem!

Monsters disappear, if they are hallucinations (coming near to you), or if they are standing around and have nothing to do.

If you want them to disappear at a certain pathnode:

void OnStart(){
AddEntityCollideCallback("grunt", "pathnode", "function", true, 1);
}

void function(string &in asParent, string &in asChild, int alState){
FadeEnemyToSmoke("grunt", false);
}
07-18-2011, 10:25 PM
Find


Messages In This Thread
Script Problem! - by JoeBradleyUK - 07-18-2011, 08:56 PM
RE: Script Problem! - by Tanshaydar - 07-18-2011, 08:58 PM
RE: Script Problem! - by JoeBradleyUK - 07-18-2011, 09:07 PM
RE: Script Problem! - by JenniferOrange - 07-18-2011, 09:39 PM
RE: Script Problem! - by JoeBradleyUK - 07-18-2011, 10:14 PM
RE: Script Problem! - by MrCookieh - 07-18-2011, 10:25 PM
RE: Script Problem! - by JoeBradleyUK - 07-18-2011, 10:34 PM



Users browsing this thread: 2 Guest(s)