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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Monster Play Sound After PathNode!!!!
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#1
Monster Play Sound After PathNode!!!!

Anyone knows how to the script when a monster is at the pathnode and he is be gone i want to get a sound Smile

AddEntityCollideCallback("monsterscene1", "RocksSound", "RocksFunc", true, 1);


So i want to if the monster hits the script area rocksound it wil activate a function called rocksfunc.

void RocksFunc(string &in Entity)
{
PlaySoundAtEntity("", "break_wood1.snt", "monsterscene1", 0, false);
}

But it doesnt work ;(

link of my story file http://www.mediafire.com/?ba1a5xycwdqvdp8

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
(This post was last modified: 02-15-2013, 11:49 AM by VeNoMzTeamHysterical.)
02-14-2013, 03:32 PM
Website Find


Messages In This Thread
Monster Play Sound After PathNode!!!! - by VeNoMzTeamHysterical - 02-14-2013, 03:32 PM



Users browsing this thread: 1 Guest(s)