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
What's the "abEffects" parameter?
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#1
What's the "abEffects" parameter?

There's lots of functions listed at
http://wiki.frictionalgames.com/hpl2/amn..._functions
that use the bool "abEffects", but nowhere is it explained closer than "Use effects.".
I tried setting it to be true for SetSwingDoorLocked(), but while the door unlocked, no additional effects occur. There is one key-opened swing-door in Amnesia, at the prison level, but it has this flag set to false.

What does abEffects do?

(If you have access to the wiki, I'd rather you update the wiki page, than answer me personally.)


Noob scripting tutorial: From Noob to Pro

(This post was last modified: 04-03-2012, 09:46 AM by Cranky Old Man.)
04-03-2012, 09:43 AM
Find
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#2
RE: What's the "abEffects" parameter?

abEffects will for example play sounds that are defined in the entity to be played on lock/unlock for a swing door. It can also be that for a lamp entity it means that the light will use the fade in/out properties, while if you put it to false, the light will be instant on or off.
04-03-2012, 09:53 AM
Website Find
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#3
RE: What's the "abEffects" parameter?

I see. Wooden doors probably just don't have any defined for it. (Separate unlocking sounds are always played instead.)
Thank you. Smile

Noob scripting tutorial: From Noob to Pro

04-03-2012, 10:07 AM
Find




Users browsing this thread: 1 Guest(s)