Versions / 0.6.0-pre.6 / Item / Interactions / NPCs / Void / Crawler_Void / Crawler_Void_Scratch_Right.json
Crawler_Void_Scratch_Right
Server/Item/Interactions/NPCs/Void/Crawler_Void/Crawler_Void_Scratch_Right.json, 3.1 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemPlayerAnimationsId": "Crawler_Void_Default",
"ItemAnimationId": "ScratchRight"
},
"$Comment": "Prepare Delay",
"RunTime": 0.25,
"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.116,
"Selector": {
"Id": "Horizontal",
"Direction": "ToRight",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 0.5,
"EndDistance": 2,
"Length": 90,
"RollOffset": -15,
"YawStartOffset": -45
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"NPC_Attack_Melee_Damage"
]
},
"Var": "Melee_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.334
}
}
]
},
{
"Interactions": [
{
"Type": "Simple",
"$Comment": "Length of Effect",
"RunTime": 0.25,
"Effects": {
"Trails": [
{
"TrailId": "Crawler_Void_Claw",
"TargetEntityPart": "Entity",
"TargetNodeName": "L-Claw-R",
"RotationOffset": {
"Yaw": 0,
"Pitch": 0,
"Roll": 90
},
"PositionOffset": {
"X": 0,
"Y": 0,
"Z": 0.1
}
},
{
"TrailId": "Crawler_Void_Claw",
"TargetEntityPart": "Entity",
"TargetNodeName": "L-Claw-Mid",
"RotationOffset": {
"Yaw": 0,
"Pitch": 0,
"Roll": 90
},
"PositionOffset": {
"X": 0,
"Y": 0,
"Z": 0.1
}
},
{
"TrailId": "Crawler_Void_Claw",
"TargetEntityPart": "Entity",
"TargetNodeName": "L-Claw-L",
"RotationOffset": {
"Yaw": 0,
"Pitch": 0,
"Roll": 90
},
"PositionOffset": {
"X": 0,
"Y": 0,
"Z": 0.1
}
}
],
"WorldSoundEventId": "SFX_Zombie_Attack_Swing"
}
}
]
}
]
}
}