AGP
Senior Member
Posts: 448
Threads: 45
Joined: Dec 2012
Reputation:
23
|
RE: Phonograph and Waxroll Record
(12-24-2012, 11:36 AM)The chaser Wrote: Do:
void OnStart()
{
///Your things
AddUseItemCallback("", "swanlakerecord, "musicphono", "PlayMusic", true);
}
void PlayMusic (string &in asItem, string &in asEntity)
{
SetWheelInteractionDisablesStuck(asEntity, false);
SetWheelStuckState(asEntity, alState, false);
SetEntityInteractionDisabled("swanlakerecord", false);
PlaySoundAtEntity("PlayMusic", "swanlakephonograph.snt", "musicphono", 0, false);
AddDebugMessage("State changed to: "+alState, false);
}
Although I'm not really sure what you want. Do you want to play the music when you use the item, or you want to use the item and then moving the wheel so it plays?
Use item and move wheel.
|
|
12-24-2012, 08:30 PM |
|