Browse Source

Update Footstep Region Modifier for Node changes

Footstep Region Modifiers now properly connect Message nodes to
Responder State nodes
pull/95/head
Adam Johnson 7 years ago
parent
commit
36a9c3ee43
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 4
      korman/properties/modifiers/region.py

4
korman/properties/modifiers/region.py

@ -101,12 +101,10 @@ class PlasmaFootstepRegion(PlasmaModifierProperties, PlasmaModifierLogicWiz):
respstate = nodes.new("PlasmaResponderStateNode")
respstate.link_input(respmod, "states", "condition")
respstate.default_state = True
respcmd = nodes.new("PlasmaResponderCommandNode")
respcmd.link_input(respstate, "cmds", "whodoneit")
# ArmatureEffectStateMsg
msg = nodes.new("PlasmaFootstepSoundMsgNode")
msg.link_input(respcmd, "msg", "sender")
msg.link_input(respstate, "msgs", "sender")
msg.surface = self.surface
@property

Loading…
Cancel
Save