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
Sound on Pickup
samixxa Offline
Junior Member

Posts: 12
Threads: 3
Joined: Nov 2011
Reputation: 0
#1
Sound on Pickup

Hi everyone Im New to this so its all kinda confusing, i have a script activating a monster when i pickup a key, how do I make so it does play a sound also?
{
SetEntityCallbackFunc("key_2", "OnPickup");
}

void OnPickup(string &in asEntity, string &in type)
{
    SetEntityActive("monster_1", true);
    ShowEnemyPlayerPosition("monster_1");
}
01-25-2012, 03:44 PM
Find


Messages In This Thread
Sound on Pickup - by samixxa - 01-25-2012, 03:44 PM
RE: Sound on Pickup - by Tripication - 01-25-2012, 03:48 PM
RE: Sound on Pickup - by samixxa - 01-25-2012, 04:00 PM
RE: Sound on Pickup - by Statyk - 01-25-2012, 04:53 PM
RE: Sound on Pickup - by samixxa - 01-25-2012, 05:14 PM
RE: Sound on Pickup - by flamez3 - 01-25-2012, 05:52 PM
RE: Sound on Pickup - by samixxa - 01-25-2012, 07:35 PM



Users browsing this thread: 1 Guest(s)