You are here

Controlling doors

5 posts / 0 new
Last post
ramalamafizzfaj
Controlling doors

Hello again. Is it possible to open and close (not lock and unlock) a standard door placable with code?  and if so, how please?

 

thank you

  • up
    50%
  • down
    50%
meaglyn

Yes, See ActionOpenDoor and ActionCloseDoor in the lexicon.  You'll need to assign them as commands to an object  (the door itself works).

  • up
    100%
  • down
    0%
ramalamafizzfaj

ohhhhhhhhhhhhhhhhhhhhhhhh,,,, using them on itself. silly me. thank you <3

  • up
    100%
  • down
    0%
WhiteTiger

Hello again bro,

Tip: ActionOpenDoor has a bug of delay (some times it will not open the door). Instead use this:

object oDoor = (your door here);

AssignCommand(oDoor, PlayAnimation(ANIMATION_DOOR_OPEN1));

This tip Shadooow did teach me Im passing this now.

WhiteTiger

Hey have you ever played my module? Click here: Amnesia Chapter 1  - (100% english) Enjoy it!

  • up
    100%
  • down
    0%
ramalamafizzfaj

Thanks <3 you guys are the bomb

  • up
    50%
  • down
    50%