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!
JoeBradleyUK Offline
Member

Posts: 115
Threads: 20
Joined: Jul 2011
Reputation: 0
#7
RE: Script Problem!

(07-18-2011, 10:25 PM)MrCookieh Wrote: 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);
}

Thanks! You guys on the forum are really helpful Big Grin

:Work In Progress:
Insanity
07-18-2011, 10:34 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)