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
Script Help Script Codes for Shutting Swing Door?
CarnivorousJelly Offline
Posting Freak

Posts: 1,196
Threads: 41
Joined: Dec 2012
Reputation: 80
#2
RE: Script Codes for Shutting Swing Door?

(05-04-2013, 05:48 PM)FurtherGames Wrote: <bolded text question here>

http://wiki.frictionalgames.com/hpl2/amn...ions#doors Should have the function you're looking for. Specifically, it's this one:

void SetSwingDoorClosed(string& asName, bool abClosed, bool abEffects);
string& asName = "Insert the name of the door here"
bool abClosed = true/false, you want true
bool abEffects = true/false depending on if you want sound to accompany the door closing

And one more thing. I believe the majority of the questions you've asked so far have been answered before and in tutorials on the wiki. Try searching here http://wiki.frictionalgames.com/hpl2/tut..._tutorials and the forum before you post a question. I certainly don't mind answering, but posting a new thread for each scripting question bumps other people's questions down the page which certainly doesn't help them get their questions answered. I usually just post new questions in the same thread as my old, answered one (so long as they are relevant) to avoid spamming everyone Smile

[Image: quote_by_rueppells_fox-d9ciupp.png]
(This post was last modified: 05-04-2013, 06:12 PM by CarnivorousJelly.)
05-04-2013, 05:58 PM
Find


Messages In This Thread
RE: Script Codes for Shutting Swing Door? - by CarnivorousJelly - 05-04-2013, 05:58 PM



Users browsing this thread: 1 Guest(s)