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
problem with scare script
zergling50 Offline
Member

Posts: 74
Threads: 9
Joined: Jul 2012
Reputation: 1
#27
RE: problem with scare script

(06-12-2013, 02:48 PM)JustAnotherPlayer Wrote:
(06-12-2013, 12:19 PM)Amn Wrote: This happened to me once.
I had to do the following:

PHP Code: (Select All)
void LazyDoorOpen () { 
DisableAutoClose false
SwingDoorClosed false
,false
Addtimer 0.1 
"LazyDoorImpulse" 
Addtimer 0.3 "LazyDoorImpulse"  }

void LazyDoorImpulse ()
PropImpulse 3 


In my experience, i remember i put 5 floating doors.
The only door that opened is the one with that code, in that order.
First disable, then swingclosed, then the two impulses with a little delay between.

You know that guy would just copy-paste that right? And then he says it got an error.

Actually, I didn't lol. I know the basics of coding. But I decided to go with the slightly ajar door suggestion and it worked great.

(06-12-2013, 08:16 AM)GrAVit Wrote: I suppose you could go to the door's settings in the level editor and set the OpenAmount to a very small value. That way the door would be technically open but visibly hardly noticeable.

Or you could make it visibly ajar. Whatever you want.

Also, if you choose to do so, be sure to use this:
SetSwingDoorDisableAutoClose("mansion_6", true);

That way it wont automatically close itself when it's only open by a small amount.
You need to add it outside the function though.

I tried this out and it worked great. thanks Smile
(This post was last modified: 06-13-2013, 08:14 PM by zergling50.)
06-13-2013, 08:13 PM
Find


Messages In This Thread
problem with scare script - by zergling50 - 01-06-2013, 10:18 PM
RE: problem with scare script - by Rapture - 01-06-2013, 10:33 PM
RE: problem with scare script - by zergling50 - 01-08-2013, 01:34 AM
RE: problem with scare script - by Damascus - 01-07-2013, 03:10 AM
RE: problem with scare script - by Victor - 01-08-2013, 04:32 PM
RE: problem with scare script - by Damascus - 01-08-2013, 08:14 PM
RE: problem with scare script - by zergling50 - 04-06-2013, 08:16 PM
RE: problem with scare script - by Kreekakon - 04-06-2013, 08:29 PM
RE: problem with scare script - by zergling50 - 04-06-2013, 09:01 PM
RE: problem with scare script - by NaxEla - 04-07-2013, 12:58 AM
RE: problem with scare script - by Tiger - 04-07-2013, 01:56 AM
RE: problem with scare script - by NaxEla - 04-07-2013, 04:53 AM
RE: problem with scare script - by Tiger - 04-07-2013, 04:43 PM
RE: problem with scare script - by zergling50 - 04-07-2013, 08:37 PM
RE: problem with scare script - by zergling50 - 04-07-2013, 09:42 PM
RE: problem with scare script - by noovra - 04-08-2013, 02:05 AM
RE: problem with scare script - by Linus Ågren - 04-08-2013, 09:00 AM
RE: problem with scare script - by noovra - 04-08-2013, 01:03 PM
RE: problem with scare script - by zergling50 - 04-10-2013, 11:46 PM
RE: problem with scare script - by NaxEla - 04-11-2013, 12:36 AM
RE: problem with scare script - by zergling50 - 06-11-2013, 08:22 PM
RE: problem with scare script - by GrAVit - 06-12-2013, 08:16 AM
RE: problem with scare script - by Daemian - 06-12-2013, 12:19 PM
RE: problem with scare script - by zergling50 - 06-13-2013, 08:13 PM



Users browsing this thread: 1 Guest(s)