Versions / 0.6.0-pre.1 / Item / Interactions / NPCs / Intelligent / Outlander_Hunter / Outlander_Hunter_Daggers_Swing_Right_Left.json
Outlander_Hunter_Daggers_Swing_Right_Left
Server/Item/Interactions/NPCs/Intelligent/Outlander_Hunter/Outlander_Hunter_Daggers_Swing_Right_Left.json, 2.1 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemPlayerAnimationsId": "Outlander_Daggers_Push",
"ItemAnimationId": "SwingRightLeft"
},
"$Comment": "Prepare Delay",
"RunTime": 0.139,
"Next": {
"Type": "Parallel",
"$Comment": "Make sure this parallel interaction is needed and can't be optimized away",
"Interactions": [
{
"Interactions": [
{
"Type": "Selector",
"$Comment": "Length of Combat",
"RunTime": 0.069,
"Selector": {
"Id": "Horizontal",
"Direction": "ToRight",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 0.1,
"EndDistance": 2.25,
"Length": 30,
"RollOffset": -30,
"YawStartOffset": -15
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.279
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"NPC_Attack_Melee_Damage"
]
},
"Var": "Melee_Damage"
}
]
}
}
]
},
{
"Interactions": [
{
"Type": "Simple",
"$Comment": "Length of Effect",
"RunTime": 0.139,
"Effects": {
"Trails": [
{
"PositionOffset": {
"X": 0.5,
"Y": 0,
"Z": 0
},
"RotationOffset": {
"Pitch": 0,
"Roll": 90,
"Yaw": 0
},
"TargetNodeName": "Handle",
"TrailId": "Small_Default"
}
],
"WorldSoundEventId": "SFX_Light_Melee_T2_Swing"
}
}
]
}
]
}
}