Welcome to the Builder Academy

Question Found open/close trigger for doors, is there one for objects?

More
25 Aug 2025 01:40 #10869 by wlessard1
I found the trigger code to open and close doors in several ways.
What I am looking for and have spent a bit of time going through the help files, hindex searches as well but there doesn't seem to be a way to do this for containers.

The solo artist of nothing in particular.

Please Log in or Create an account to join the conversation.

More
25 Aug 2025 21:08 #10870 by thomas
Not directly, I think you'll have to use a command trigger for this.

Please Log in or Create an account to join the conversation.

More
25 Aug 2025 22:00 - 25 Aug 2025 22:01 #10871 by wlessard1
Just for information... this is my simplified close do on enter.
Name: 'Close Door',  VNum: [ 3401], RNum: [  550]
Trigger Intended Assignment: Rooms
Trigger Type: Enter , Numeric Arg: 100, Arg list: None
Commands:
if %actor.is_pc%
%door% 3470 west flags ab
end

What I can't find is one to close a container in a similar manner. It can even be a obj command that when you come in the room it opens or closes.
I was thinking about this because I have a vampire and I was hoping to build a trigger to make the coffin open and then he gets a greet to the player about sucking his blood or something like that.

That is what I am searching through the triggers in the game already and zones like 13 and 14 for examples.
Last edit: 25 Aug 2025 22:01 by wlessard1.

Please Log in or Create an account to join the conversation.

Time to create page: 0.198 seconds