FurtherGames
Member
Posts: 72
Threads: 23
Joined: Apr 2013
Reputation:
1
|
RE: Script Codes for Shutting Swing Door?
(05-04-2013, 05:58 PM)Kiandra Wrote: (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
I sort of dislike using that website because it's sort of mashed up.
|
|
05-04-2013, 06:23 PM |
|