01-25-2012, 03:44 PM
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?
Code:
{
SetEntityCallbackFunc("key_2", "OnPickup");
}
void OnPickup(string &in asEntity, string &in type)
{
SetEntityActive("monster_1", true);
ShowEnemyPlayerPosition("monster_1");
}