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
Sounds and messages
giacomo9 Offline
Junior Member

Posts: 37
Threads: 11
Joined: Nov 2012
Reputation: 0
#1
Sounds and messages

I've got a script:

void Scared_9(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("DeadFour_9", true);
SetEntityActive("DeadFour_10", true);
GiveSanityDamage(99, true);
PlaySoundAtEntity("", "24_iron_maiden.snt", "Scary_9", 0, false);
}

After activation this script, I would like to:
1) The player saw the message on the screen (for example, "RUN!")
2) Two seconds after activation of the script there was a sound (different than in script above)
How to do it? Smile

I'm sorry if somewhere there is a spelling mistake, charms of use google translator xD
11-27-2012, 06:02 PM
Find


Messages In This Thread
Sounds and messages - by giacomo9 - 11-27-2012, 06:02 PM
RE: Sounds and messages - by GoranGaming - 11-27-2012, 06:10 PM
RE: Sounds and messages - by giacomo9 - 11-27-2012, 06:17 PM
RE: Sounds and messages - by GoranGaming - 11-27-2012, 06:21 PM
RE: Sounds and messages - by giacomo9 - 11-27-2012, 07:19 PM
RE: Sounds and messages - by FlawlessHappiness - 11-27-2012, 07:20 PM
RE: Sounds and messages - by giacomo9 - 11-27-2012, 07:28 PM



Users browsing this thread: 1 Guest(s)