Jump to content

Secret Door and how to script


Sebo85

Recommended Posts

Of course but, since you have the xmarker reference as property instead of the door reference, you need to set the door as a linked ref for the door's xmarker, then you can do something like this:

 

OpeningSound.Play(Door_xMarker.GetLinkedRef())

 

GetLinkedRef() will return the reference that is linked. So the sound will play from the door reference.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...