Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.8.1 / EncounterManager / Example_Points.json

Example_Points

Server/EncounterManager/Example_Points.json, 1.2 KB

Fields

FieldType
Classstring
Typestring
Instructionsarray[1]

Source

{
  "Class": "EncounterManager",
  "Type": "Generic",
  "Instructions": [
    {
      "Instructions": [
        {
          "Sensor": {
            "Type": "Player",
            "Range": 50
          },
          "Instructions": [
            {
              "Sensor": {
                "Type": "Points",
                "Tag": "arrow",
                "Range": 50
              },
              "Actions": [
                {
                  "Type": "Sequence",
                  "Blocking": true,
                  "Actions": [
                    {
                      "Type": "ForEach",
                      "Actions": [
                        {
                          "Type": "SpawnInteraction",
                          "PositionSource": "Sensor",
                          "OrientationSource": "UseSensor",
                          "Interaction": "Test_Encounter_Projectile"
                        }
                      ]
                    },
                    {
                      "Type": "Timeout",
                      "Delay": [ 3, 3 ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}