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
Failing on the phonograph
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#10
RE: Failing on the phonograph

I used it this way and it worked:

void UseWaxOnPhono(string &in asItem, string &in asEntity)
{
SetWheelStuckState("bloopersphono", 0, false);
PlaySoundAtEntity("", "12_make_drill.snt", asEntity, 0.0f,false);
SetEntityPlayerInteractCallback("bloopersphono", "", false);
RemoveItem(asItem);
SetEntityConnectionStateChangeCallback("bloopersphono", "StateChangeBloopersPhono");
}

void StateChangeBloopersPhono(string &in asEntity, int alState)
{
if(alState != 1) return;
SetEntityInteractionDisabled(asEntity, true);

AddEffectVoice("bloopers_extra.ogg",
"",
"Recording", "Bloopers",
true, asEntity, 4, 16
);
}

On start I put:
AddUseItemCallback("bloopers", "bloopers_item", "bloopersphono", "UseWaxOnPhono", false);
SetWheelStuckState("bloopersphono", -1, false);

That brings back to the info that Wiki is wrong again. It asks in wiki entry first and then category, even tho it is opposite Tongue

The Interrogation
Chapter 1

My tutorials
(This post was last modified: 08-24-2011, 03:00 PM by Elven.)
08-24-2011, 02:59 PM
Find


Messages In This Thread
Failing on the phonograph - by Acies - 08-23-2011, 01:22 AM
RE: Failing on the phonograph - by palistov - 08-23-2011, 07:25 AM
RE: Failing on the phonograph - by Acies - 08-23-2011, 09:33 AM
RE: Failing on the phonograph - by Acies - 08-23-2011, 09:14 PM
RE: Failing on the phonograph - by Tanshaydar - 08-24-2011, 08:10 AM
RE: Failing on the phonograph - by Acies - 08-24-2011, 10:52 AM
RE: Failing on the phonograph - by Tanshaydar - 08-24-2011, 10:57 AM
RE: Failing on the phonograph - by Acies - 08-24-2011, 12:01 PM
RE: Failing on the phonograph - by Tanshaydar - 08-24-2011, 12:30 PM
RE: Failing on the phonograph - by Elven - 08-24-2011, 02:59 PM



Users browsing this thread: 1 Guest(s)