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
Make blue light flash when unlocking door?
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: Make blue light flash when unlocking door?

(12-17-2011, 04:59 AM)FreshKorruption Wrote: What do I script to make a blue light flash and that sound play when i unlock a door. You know, like they do in the story.
I'm not exactly sure but I think it's this:

CompleteQuest(string& asName, string& asNameAndTextEntry);

Completes a quest.
asName - the internal name of the quest
asNameAndTextEntry - entry in the .lang file. Must start with “Questfckg_QUOT_, end with _fckg_QUOTText”, and be in category “Journal”!


And I think there needs to be a PlaySoundAtEntity function but I don't know the sound that needs to be played.

(This post was last modified: 12-17-2011, 06:02 AM by flamez3.)
12-17-2011, 06:02 AM
Find


Messages In This Thread
RE: Make blue light flash when unlocking door? - by flamez3 - 12-17-2011, 06:02 AM



Users browsing this thread: 1 Guest(s)