Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What's the "abEffects" parameter?
Author Message
Cranky Old Man Offline
Posting Freak

Posts: 925
Joined: Apr 2012
Reputation: 37
Post: #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 all posts by this user Quote this message in a reply
jens Offline
Frictional Games

Posts: 3,107
Joined: Apr 2006
Reputation: 103
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
Cranky Old Man Offline
Posting Freak

Posts: 925
Joined: Apr 2012
Reputation: 37
Post: #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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)