The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Music
.eX. Offline
Junior Member

Posts: 5
Threads: 2
Joined: Mar 2012
Reputation: 0
#1
Music


void OnStart()

{

SetEntityActive("servant_brute_1", true);
AddEnemyPatrolNode("servant_brute_1","PathNodeArea_1", 3.00,"");
AddEnemyPatrolNode("servant_brute_1","PathNodeArea_2", 0,"");
AddEnemyPatrolNode("servant_brute_1","PathNodeArea_3", 0,"");
AddEntityCollideCallback("servant_brute_1", "ScriptArea_1", "MyFunc1", false, 0);
}
void MyFunc1(string &in asParent, string &in asChild, int alState)
{
FadeEnemyToSmoke("servant_brute_1", false);
PlaySoundAtEntity("book_pile01_1", "break_glass_large.snt", "book_pile01_1", 0, false);
}

after enemy reaches script area the sound should play at the entity(book) but it does not play, can u help me with that plz ?
03-25-2012, 08:53 PM
Find


Messages In This Thread
Music - by .eX. - 03-25-2012, 08:53 PM
RE: Music - by ClayPigeon - 03-25-2012, 09:00 PM
RE: Music - by .eX. - 03-25-2012, 10:16 PM



Users browsing this thread: 1 Guest(s)