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
Item pickup trigger sound help
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Item pickup trigger sound help

You can use PlayGuiSound() if you don't care where the sound is coming from. If you want the sound positioned 3D in the level, use an area with PlaySoundAtEntity().

You can control the player's view with StartPlayerLookAt(). Just tell it where to look (I recommend script areas) and how fast and such. Remember to use StopPlayerLookAt() or else they will be stuck looking there. Combine these with AddTimer() to have it happen at specific times.

You'll find all the info on the scripts page. Just ctrl-F what you need:
https://wiki.frictionalgames.com/doku.ph..._functions

(This post was last modified: 06-05-2016, 09:47 PM by Mudbill.)
06-05-2016, 09:47 PM
Find


Messages In This Thread
Item pickup trigger sound help - by Xallikk - 06-05-2016, 08:53 PM
RE: Item pickup trigger sound help - by Mudbill - 06-05-2016, 09:47 PM
RE: Item pickup trigger sound help - by Xallikk - 06-05-2016, 11:27 PM
RE: Item pickup trigger sound help - by Mudbill - 06-06-2016, 12:47 AM
RE: Item pickup trigger sound help - by Xallikk - 06-06-2016, 01:13 AM
RE: Item pickup trigger sound help - by Mudbill - 06-06-2016, 08:06 AM
RE: Item pickup trigger sound help - by Xallikk - 06-07-2016, 01:32 AM



Users browsing this thread: 1 Guest(s)