Jump to content

Opening and closing the door..with a switch. How?


legoman600

Recommended Posts

scn myDoorSwitch

begin onActivate
if myDoorRef.GetOpenState == 1
myDoorRef.SetOpenState 0
else
myDoorRef.SetOpenState 1
endif
end

 

Set the doors reference ID to myDoorRef and it should work fine.

 

so this would go into the script of the spitch and then i would set the active parent of the door the switch? thanks

Link to comment
Share on other sites

When I go into the base editor of the switch and click on the box with the three dots next to the script nothing happens. I admit to defeat with GECK, I am completely clueless , would anyone be willing to give me step by step instruction that are comprhensive to idiots like me ?
Link to comment
Share on other sites

  • Recently Browsing   0 members

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