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
Phonograph
TheIcyPickle Offline
Member

Posts: 80
Threads: 16
Joined: Feb 2011
Reputation: 0
#1
Phonograph

Hello!

I would like it so that when player is DONE with the action of rotating the little lever thing on the phonograph it plays music from the phonograph. (And how would one do this if player sticks a "music tinderbox" thing in the phonograph)

I tried a InteractCallback, it works, but it just plays when you touch the phonograph... not when the player is done rotating it.

my original InteractCallback:


void OnStart()
{
SetEntityPlayerInteractCallback("phonograph_1", "PlayMusic", true);




}

void PlayMusic(string &in asEntity)
{
PlayMusic("Fallout New Vegas Soundtrack - Jingle Jangle Jingle.ogg", false, 0.5, 0, 0, true);
}
06-07-2012, 01:55 AM
Find


Messages In This Thread
Phonograph - by TheIcyPickle - 06-07-2012, 01:55 AM
RE: Phonograph - by Damascus - 06-07-2012, 02:03 AM
RE: Phonograph - by TheIcyPickle - 06-07-2012, 02:08 AM
RE: Phonograph - by Adny - 06-07-2012, 03:17 AM
RE: Phonograph - by TheIcyPickle - 06-07-2012, 03:48 AM
RE: Phonograph - by FragdaddyXXL - 06-07-2012, 06:09 AM
RE: Phonograph - by TheIcyPickle - 06-07-2012, 08:31 PM



Users browsing this thread: 1 Guest(s)