Skip to main content
Corvus Connection

TITS: On Hit

VTuber
Trigger
Portent preview
entry.onTitsHitFires once per item that hits the avatar; binds item / trigger identity, strength, and the impact direction.Triggers per hit; binds item/trigger, strength, direction.
Avatar

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
itemId
Data
System.String
multiplexed
itemName
Data
System.String
multiplexed
triggerId
Data
System.String
multiplexed
triggerName
Data
System.String
multiplexed
strength
Data
System.Double
multiplexed
directionX
Data
System.Double
multiplexed
directionY
Data
System.Double
multiplexed
directionZ
Data
System.Double
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    itemId
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    itemName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    triggerId
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    triggerName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    strength
    Kind
    Data
    Type
    System.Double
    Flags
    multiplexed
  • Name
    directionX
    Kind
    Data
    Type
    System.Double
    Flags
    multiplexed
  • Name
    directionY
    Kind
    Data
    Type
    System.Double
    Flags
    multiplexed
  • Name
    directionZ
    Kind
    Data
    Type
    System.Double
    Flags
    multiplexed

Bindings

Name
Type
Description
itemId
System.String
The thrown item's id.
itemName
System.String
The thrown item's name.
triggerId
System.String
The trigger's id.
triggerName
System.String
The trigger's name.
strength
System.Double
The throw strength.
directionX
System.Double
The throw direction's x component.
directionY
System.Double
The throw direction's y component.
directionZ
System.Double
The throw direction's z component.
  • Name
    itemId
    Type
    System.String
    Description
    The thrown item's id.
  • Name
    itemName
    Type
    System.String
    Description
    The thrown item's name.
  • Name
    triggerId
    Type
    System.String
    Description
    The trigger's id.
  • Name
    triggerName
    Type
    System.String
    Description
    The trigger's name.
  • Name
    strength
    Type
    System.Double
    Description
    The throw strength.
  • Name
    directionX
    Type
    System.Double
    Description
    The throw direction's x component.
  • Name
    directionY
    Type
    System.Double
    Description
    The throw direction's y component.
  • Name
    directionZ
    Type
    System.Double
    Description
    The throw direction's z component.

Parameters

Name
Type
Required
Default
Choices
cooldownSeconds
System.Int32
no
0
None
perUserCooldownSeconds
System.Int32
no
0
None
debounceMs
System.Int32
no
0
None
dedupeKey
System.String
no
""
None
maxConcurrency
System.Int32
no
0
None
  • Name
    cooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    perUserCooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    debounceMs
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    dedupeKey
    Type
    System.String
    Required
    no
    Default
    ""
    Choices
    None
  • Name
    maxConcurrency
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None

Lowers to C#

[OnTitsHit] Handle(ctx, TitsHitContext e)

Used in