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
ClayPigeon Offline
Member

Posts: 214
Threads: 13
Joined: Mar 2012
Reputation: 8
#2
RE: Music

Is the enemy turning to smoke? Or is it just the music that doesn't play?
03-25-2012, 09:00 PM
Find
.eX. Offline
Junior Member

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

the enemy should turn to smoke and sound should be played, he turns to smoke, but sound doesnt play
03-25-2012, 10:16 PM
Find




Users browsing this thread: 1 Guest(s)