|
|
-- DOMINO REFLECTION BOX START
|
|
--
|
|
-- <Display Category="Entity" Text="Disable Hit by Projectile Reaction"/>
|
|
--
|
|
-- <ContextHelp><![CDATA[
|
|
-- ]]></ContextHelp>
|
|
--
|
|
|
|
-- <ControlIn Name="DisableReaction">
|
|
-- <LinkRule>
|
|
-- <Target anchor="Entity"/>
|
|
-- </LinkRule>
|
|
-- <LinkRule severity="ERROR">
|
|
-- <Target anchor="Entity"/>
|
|
-- </LinkRule>
|
|
-- <LinkRule severity="INFO">
|
|
-- <Target anchor="Disabled"/>
|
|
-- </LinkRule>
|
|
-- </ControlIn>
|
|
--
|
|
-- <DataIn Name="Entity" Type="Nomad|entity"/>
|
|
--
|
|
-- <ControlOut Name="Disabled"/>
|
|
--
|
|
-- DOMINO REFLECTION BOX END
|
|
|
|
DisableProjectileReaction = {
|
|
};
|
|
|
|
function DisableProjectileReaction:Create(cbox)
|
|
-- left empty on purpose
|
|
end
|
|
|
|
function DisableProjectileReaction:Init(cbox)
|
|
-- left empty on purpose
|
|
end
|
|
|
|
function DisableProjectileReaction:ShutDown()
|
|
-- left empty on purpose
|
|
end
|
|
|
|
function DisableProjectileReaction:DisableReaction()
|
|
if ( self.Entity ~= nil ) then
|
|
DisableHitByProjectileReaction( self.Entity );
|
|
self:Disabled();
|
|
end
|
|
end
|
|
|
|
export = DisableProjectileReaction;
|
|
DisableProjectileReaction = nil;
|