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
2 Problems, (Playing a sound and Lightning (spotlight)) [BOTH SOLVED!!]
Dark88 Offline
Junior Member

Posts: 48
Threads: 6
Joined: Dec 2010
Reputation: 0
#16
RE: 2 Problems, (Playing a sound and Lightning (spotlight)) Light is SOLVED

Barring the checkbox doesn't work the way i guess I understood it. You can alternatively use

SetEntityPlayerInteractCallback(string& asName, string& asCallback, bool abRemoveOnInteraction);

in your OnStart() function like this

void OnStart()
{
SetEntityPlayerInteractCallback("door", "FirstLockedDoorScare", true);
}

then it should only call the FirstLockedDoorScare function once.
(12-23-2010, 11:25 PM)bigfoot Wrote: Ye it's working now, I had to disable it and re-enable it.

Thanks a lot for your help bro.

If I need any help later on, I'm sure ill find you and ask you if that's ok with you, haha :p

But I'm going to sleep right now, ill continue tomorrow.

Again, thanks a lot!

No problem. Peace, bro. Happy holidays!Big Grin
(This post was last modified: 12-23-2010, 11:28 PM by Dark88.)
12-23-2010, 11:27 PM
Find


Messages In This Thread
RE: 2 Problems, (Playing a sound and Lightning (spotlight)) Light is SOLVED - by Dark88 - 12-23-2010, 11:27 PM



Users browsing this thread: 2 Guest(s)