Versions / 0.6.0-pre.8.1 / EncounterManager / Examples / Encounter_Macro_Pattern_Example_Stalactites.json
Encounter_Macro_Pattern_Example_Stalactites
Server/EncounterManager/Examples/Encounter_Macro_Pattern_Example_Stalactites.json, 3.3 KB
Fields
| Field | Type |
|---|---|
Class | string |
Type | string |
Interface | string |
Parameters | object |
Content | object |
Source
{
"Class": "Instruction",
"Type": "Component",
"Interface": "Hytale.Instruction.Encounter.Phase.Logic",
"Parameters": {
"Interaction": {
"Value": "Test_Encounter_Projectile",
"Description": "Interaction spawned at each impact point"
},
"Particle": {
"Value": "Explosion_Medium",
"Description": "Particle telegraph at each impact point"
},
"Tag": {
"Value": "arrow",
"Description": "Point tag the bullet-hell volley targets"
},
"Range": {
"Value": 100,
"Description": "Search range for players and points"
},
"Interval": {
"Value": [ 5, 5 ],
"Description": "Seconds between volleys"
}
},
"Content": {
"Continue": true,
"Instructions": [
{
"Continue": true,
"Sensor": {
"Type": "Player",
"Range": { "Compute": "Range" },
"MultiTarget": true
},
"Actions": [
{
"Type": "Sequence",
"Blocking": true,
"Actions": [
{ "Type": "Timeout", "Delay": { "Compute": "Interval" } },
{
"Type": "ProjectToGround",
"Actions": [
{
"Type": "ForEach",
"Actions": [
{ "Type": "SpawnParticles", "PositionSource": "Sensor", "ParticleSystem": { "Compute": "Particle" } }
]
},
{
"Type": "AdjustPosition",
"Offset": [ 0, 10, 0 ],
"Actions": [
{
"Type": "ForEach",
"Actions": [
{
"Type": "SpawnInteraction",
"PositionSource": "Sensor",
"Interaction": { "Compute": "Interaction" },
"OrientationSource": "Absolute",
"Pitch": -90,
"Delay": [ 2, 2 ]
}
]
}
]
}
]
}
]
}
]
},
{
"Continue": true,
"Sensor": {
"Type": "Points",
"Tag": { "Compute": "Tag" },
"Range": { "Compute": "Range" }
},
"Actions": [
{
"Type": "Sequence",
"Blocking": true,
"Actions": [
{ "Type": "Timeout", "Delay": { "Compute": "Interval" } },
{
"Type": "ForEach",
"TargetCount": [ 4, 4 ],
"Actions": [
{
"Type": "ProjectToGround",
"Actions": [
{ "Type": "SpawnParticles", "PositionSource": "Sensor", "ParticleSystem": { "Compute": "Particle" } }
]
},
{
"Type": "SpawnInteraction",
"PositionSource": "Sensor",
"OrientationSource": "UseSensor",
"Interaction": { "Compute": "Interaction" },
"Delay": [ 2, 2 ]
}
]
}
]
}
]
}
]
}
}