Automatic Door

From GMod Wiki

Revision as of 12:04, 16 November 2011 by [RV] TJjokerR (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Deletion.pngThis page has been nominated for deletion. Deletion is due within approximately 30 days from nomination, unless the deletion has been disputed on the talk page. See more pages nominated for deletion here.
Reason for deletion: Not what Garry wants the wiki to be used for
Last Edit was made on 11/16/2011

Automatic Door

What you will need:

Props:

Mainly just 2 PHX (1x2) plates with sliders

Wire:

Spawn these on the NON-MOVING part of the door

Expression (Expression 2):

     @Name Door Expression
     @Inputs Dist
     @Outputs Length
     @persist
     @trigger all
     if (Dist <= 200) {Length = #Enter the 'ON' Hydralic Length here}
     else {Length = #Enter the 'OFF' Hyralic Length here
     #Line 1: IF Distance is less then or equal to 200 then Hydralic Length is set 'ON'
     #Line 2: ELSE *IF NOT Less then or equal to 200* then Hydralic Length is set 'OFF'

Done?:

Wiring:

Done?:

Done?:

Thank You

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox