Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

View File

@ -0,0 +1,25 @@
from lnx.logicnode.lnx_nodes import *
class SendGlobalEventNode(LnxLogicTreeNode):
"""Sends the given event to all objects in the scene.
@seeNode Send Event to Object
@seeNode On Event
@input Event: the identifier of the event"""
bl_idname = 'LNSendGlobalEventNode'
bl_label = 'Send Global Event'
lnx_version = 1
lnx_section = 'custom'
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxStringSocket', 'Event')
self.add_output('LnxNodeSocketAction', 'Out')
def draw_label(self) -> str:
if self.inputs[1].is_linked:
return self.bl_label
return f'{self.bl_label}: {self.inputs[1].get_default_value()}'