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 and Waxroll Record
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#2
RE: Phonograph and Waxroll Record

I don't have your full code, so I have no idea to what your getting stuck on... Not even sure if the parameters are even correct, but can't know that without the full hps.
Spoiler below!
void OnStart()
{
void AddUseItemCallback("", "Item_Waxroll, "Entity_Phonograph_0", "Script_Entity_Phonograph_0", true);
}

void Intro()
{

}

void OnEnter()
{

}

void Script_Entity_Phonograph_0(string &in entity, string &in type)
{
SetWheelInteractionDisablesStuck(asEntity, false);
SetWheelStuckState(asEntity, alState, false);

SetEntityInteractionDisabled("swanlakerecord", false);
PlaySoundAtEntity("PlayMusic", "swanlakephonograph.snt", "musicphono", 0, false);

AddDebugMessage("State changed to: "+alState, false);
}

Edit: Your gonna have to fix up the spacing, I don't know why the forums keeps fracking up anything I type or paste.
(This post was last modified: 12-24-2012, 03:11 AM by Rapture.)
12-24-2012, 03:09 AM
Find


Messages In This Thread
Phonograph and Waxroll Record - by AGP - 12-24-2012, 02:16 AM
RE: Phonograph and Waxroll Record - by Rapture - 12-24-2012, 03:09 AM
RE: Phonograph and Waxroll Record - by AGP - 12-24-2012, 04:16 AM
RE: Phonograph and Waxroll Record - by The chaser - 12-24-2012, 11:36 AM
RE: Phonograph and Waxroll Record - by AGP - 12-24-2012, 08:30 PM
RE: Phonograph and Waxroll Record - by The chaser - 12-24-2012, 08:51 PM
RE: Phonograph and Waxroll Record - by AGP - 12-24-2012, 11:49 PM
RE: Phonograph and Waxroll Record - by The chaser - 12-25-2012, 12:58 AM
RE: Phonograph and Waxroll Record - by AGP - 12-25-2012, 03:56 AM
RE: Phonograph and Waxroll Record - by AGP - 12-26-2012, 09:29 AM
RE: Phonograph and Waxroll Record - by The chaser - 12-26-2012, 11:09 AM
RE: Phonograph and Waxroll Record - by AGP - 12-26-2012, 06:36 PM
RE: Phonograph and Waxroll Record - by The chaser - 12-26-2012, 06:45 PM
RE: Phonograph and Waxroll Record - by AGP - 12-26-2012, 06:53 PM
RE: Phonograph and Waxroll Record - by The chaser - 12-26-2012, 07:31 PM
RE: Phonograph and Waxroll Record - by AGP - 12-27-2012, 02:32 AM
RE: Phonograph and Waxroll Record - by The chaser - 12-29-2012, 04:21 PM
RE: Phonograph and Waxroll Record - by AGP - 12-29-2012, 06:40 PM
RE: Phonograph and Waxroll Record - by The chaser - 12-29-2012, 06:51 PM
RE: Phonograph and Waxroll Record - by AGP - 12-29-2012, 07:48 PM



Users browsing this thread: 4 Guest(s)