Encounter_Macro_Nested_Inner
Server/EncounterManager/Examples/Encounter_Macro_Nested_Inner.json, 1.8 KB
Fields
| Field | Type |
|---|---|
Class | string |
Type | string |
Interface | string |
Parameters | object |
Content | object |
Source
{
"Class": "Instruction",
"Type": "Component",
"Interface": "Hytale.Instruction.Encounter.Phase.Inner",
"Parameters": {
"InnerLabel": {
"Value": "inner macro default",
"Description": "Logged by the inner macro. Reachable only by a forward nested under the host's 'Inner' slot, never by a top-level forward."
},
"Sound": {
"Value": "SFX_Trork_Alerted",
"Description": "Non-looping sound event played every 3 seconds so QA can hear the inner macro. Override it via a nested forwarded modifier, the same way as InnerLabel."
}
},
"Content": {
"Instructions": [
{
"Continue": true,
"Sensor": {
"Type": "Timer",
"Name": "QASoundTimer",
"State": "Stopped"
},
"Actions": [
{
"Type": "PlaySound",
"SoundEventId": { "Compute": "Sound" }
},
{
"Type": "TimerRestart",
"Name": "QASoundTimer"
}
]
},
{
"Continue": true,
"Sensor": {
"Type": "Timer",
"Name": "QASoundTimer",
"State": "Stopped",
"Once": true
},
"Actions": [
{
"Type": "TimerStart",
"Name": "QASoundTimer",
"StartValueRange": [ 3, 3 ],
"RestartValueRange": [ 3, 3 ]
}
]
},
{
"Sensor": {
"Type": "Player",
"Range": 16
},
"Actions": [
{
"Type": "Log",
"Message": {"Compute": "InnerLabel" }
}
]
},
{
"Sensor": {
"Type": "Any"
},
"Actions": [
{
"Type": "Nothing"
}
]
}
]
}
}