User Tools

Site Tools


interactive_logic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
interactive_logic [2026/05/04 01:32] frank_lee_smithinteractive_logic [2026/05/04 02:27] (current) frank_lee_smith
Line 58: Line 58:
   3. Set MoveDelta to the local-space offset from closed to open.   3. Set MoveDelta to the local-space offset from closed to open.
  
-{{::sbox-dev_haj4aw5a5x.gif?600|}}+{{::sbox-dev_haj4aw5a5x.gif?800|}}
  
   4. Set OpenDuration and CloseDuration (Or don't, for default speed).   4. Set OpenDuration and CloseDuration (Or don't, for default speed).
      
-{{::openclose.png?600|}}+{{::openclose.png?800|}}
  
   5. Decide whether it should StartsOpen or StartsLocked.   5. Decide whether it should StartsOpen or StartsLocked.
Line 68: Line 68:
   6. Give the object a unique name (like secret_door_1, so on and so forth).   6. Give the object a unique name (like secret_door_1, so on and so forth).
      
-This process works similarly for rotating doors. You can add a partner object for double doors as well. +This process works similarly for rotating doors.
- +
-{{::partner.png?600|}}+
  
 ==== Button setup ==== ==== Button setup ====
  
-  Select the button object. +  7. Select the button object. 
-  Add ''TTT Button''+  8. Add TTT Button. 
-  Set ''Mode'' to ''Press''''Hold'', or ''Toggle''+  9. Set Mode to Press, Hold, or Toggle. 
-  Set ''HintText'' for the prompt shown to players. + 
-  Add a link under ''TargetsOnActivated''+{{::pressmode.png?800|}} 
-    * ''TargetName'' = ''door_secret'' + 
-    * ''Input'' ''Open''+  10. Set HintText for the prompt shown to players (Or ignore for default). 
 + 
 +  11. Add a link under TargetsOnActivated: 
 + 
 +{{::targets.png?800|}} 
 + 
 + 
 +==== You should not use all 3 Target fields like in the example above. We are demonstrating that the GameObject can be identified by name directly, with a tag or by using the dropper tool. ==== 
 + 
 +{{::tagname.png?600|}}
  
 ==== Optional polish ==== ==== Optional polish ====
interactive_logic.1777858328.txt.gz · Last modified: 2026/05/04 01:32 by frank_lee_smith

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki