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
Quick Question
Kurask Offline
Junior Member

Posts: 5
Threads: 1
Joined: Sep 2011
Reputation: 0
#10
RE: Quick Question

Just did that; for some reason it didn't work yesterday. Must've made a typo and gave up Tongue It's working now though.


What are the names of the two sound files that play when a monster is chasing a player? Using this method will require me to stop that file (the buzzing noise and the music).


Actually, this ended up doing what I wanted


void CollideBehind(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("mansion_3", true, true);
SetEntityActive("grunt_3", true);
AddEnemyPatrolNode("grunt_3", "Path", 100.0f, "");
SetEnemyDisableTriggers("grunt_3", true);
AddTimer("", 4.0f, "CollideBehindStop");
}
void CollideBehindStop(string &in asTimer)
{
FadeEnemyToSmoke("grunt_3", true);
}



For anyone else who may want to do the same thing.
(This post was last modified: 09-27-2011, 08:18 PM by Kurask.)
09-27-2011, 07:39 PM
Find


Messages In This Thread
Quick Question - by Kurask - 09-27-2011, 02:04 AM
RE: Quick Question - by Your Computer - 09-27-2011, 02:13 AM
RE: Quick Question - by Kurask - 09-27-2011, 02:23 AM
RE: Quick Question - by Pr3d4t0r - 09-27-2011, 02:52 AM
RE: Quick Question - by Tanshaydar - 09-27-2011, 02:52 AM
RE: Quick Question - by Pr3d4t0r - 09-27-2011, 02:56 AM
RE: Quick Question - by Tanshaydar - 09-27-2011, 03:14 AM
RE: Quick Question - by Kurask - 09-27-2011, 01:29 PM
RE: Quick Question - by Acies - 09-27-2011, 05:12 PM
RE: Quick Question - by Kurask - 09-27-2011, 07:39 PM
RE: Quick Question - by Kurask - 09-29-2011, 12:04 AM
RE: Quick Question - by Tanshaydar - 09-29-2011, 12:19 AM
RE: Quick Question - by Your Computer - 09-29-2011, 02:11 AM
RE: Quick Question - by Tanshaydar - 09-29-2011, 02:21 AM



Users browsing this thread: 2 Guest(s)