- Code: Select all
Button:
logic:
modifiers:
- cursor: poised
flags:
- localelement
activators:
- type: objectinvolume
remote: ClickRegion
triggers:
- any
conditions:
- type: activator
activators:
- type: picking
- type: objectinbox
satisfied: true
actions:
- type: responder
ref: :DoorOpen
actions:
- type: responder
name: DoorOpen
responder:
states:
- cmds:
- type: animcmdmsg
params:
receivers:
- 006D:Door1
animname: Door1
cmds:
- continue
waiton: -1
- type: animcmdmsg
params:
receivers:
- 006D:Door2
animname: Door2
cmds:
- continue
waiton: -1
nextstate: 1
waittocmd: 0
curstate: 0
flags:
- detecttrigger
Door1:
animations:
- name: Door1
autostart: 0
loop: 0
Door2:
animations:
- name: Door2
autostart: 0
loop: 0
Is this correct? What should it look like?