Browse Source

Add Responder Name field

Adds a string field to name a responder
pull/346/head
Patrick Dulebohn 3 years ago
parent
commit
55ef3d8290
  1. 4
      korman/nodes/node_responder.py

4
korman/nodes/node_responder.py

@ -32,6 +32,9 @@ class PlasmaResponderNode(PlasmaVersionedNode, bpy.types.Node):
# These are the Python attributes we can fill in
pl_attrib = {"ptAttribResponder", "ptAttribResponderList", "ptAttribNamedResponder"}
resp_name = StringProperty(name="Name",
description="Gives the responder a specific name (optional)"
default="")
detect_trigger = BoolProperty(name="Detect Trigger",
description="When notified, trigger the Responder",
default=True)
@ -78,6 +81,7 @@ class PlasmaResponderNode(PlasmaVersionedNode, bpy.types.Node):
])
def draw_buttons(self, context, layout):
layout.prop(self, "resp_name")
layout.prop(self, "detect_trigger")
layout.prop(self, "detect_untrigger")
layout.prop(self, "no_ff_sounds")

Loading…
Cancel
Save