Skip to content

Instantly share code, notes, and snippets.

@alvivar
Created November 25, 2014 01:51
Show Gist options
  • Save alvivar/75fb5cadf04a9a2b08bc to your computer and use it in GitHub Desktop.
Save alvivar/75fb5cadf04a9a2b08bc to your computer and use it in GitHub Desktop.
Vermin Reactions v2
{
"__type": "React.Root",
"target": null,
"notes": "",
"uid": "b84244a7-571e-4199-b50b-91cc9c626a10",
"children": [{
"__type": "React.Selector",
"notes": "",
"uid": "c268c172-b53e-4f7f-820d-d2cbd8982b48",
"children": [{
"__type": "React.Sequence",
"notes": "",
"uid": "a3b94783-d42b-4658-a037-c3f5ae6938d3",
"children": [{
"method": {
"method": "IsTargetKnown",
"__type": "React.SerializedMethodCall",
"Tag": "AiReaction.IsTargetKnown",
"parameters": {},
"ns": null,
"component": "AiReaction"
},
"__type": "React.Condition",
"notes": "",
"uid": "5e2f4baa-6267-4fa9-bbed-4c2b0be0c2b1",
"enabled": true
}, {
"__type": "React.Selector",
"notes": "",
"uid": "953ccca3-a99b-4559-95eb-e6200b7b8bdc",
"children": [{
"__type": "React.Sequence",
"notes": "",
"uid": "f7cb196c-f58c-4e79-8828-acd25e7826cb",
"children": [{
"method": {
"method": "IsTargetOnSight",
"__type": "React.SerializedMethodCall",
"Tag": "AiReaction.IsTargetOnSight",
"parameters": {},
"ns": null,
"component": "AiReaction"
},
"__type": "React.Condition",
"notes": "",
"uid": "15b7b190-b94b-446c-b3f7-aeb66e41c1e5",
"enabled": true
}, {
"method": {
"method": "SetNearDistance",
"__type": "React.SerializedMethodCall",
"Tag": "AiReaction.SetNearDistance",
"parameters": {
"distance": 0.5
},
"ns": null,
"component": "AiReaction"
},
"__type": "React.Function",
"notes": "",
"uid": "3682684c-7b5c-45fc-8b5f-1b8490e6b92e",
"enabled": true
}, {
"method": {
"method": "IsTargetNear",
"__type": "React.SerializedMethodCall",
"Tag": "AiReaction.IsTargetNear",
"parameters": {},
"ns": null,
"component": "AiReaction"
},
"__type": "React.Condition",
"notes": "",
"uid": "97cd5a45-9b32-45a3-8722-ddd4a95cc5fc",
"enabled": true
}, {
"method": {
"method": "Stop",
"__type": "React.SerializedMethodCall",
"Tag": "AiReaction.Stop",
"parameters": {},
"ns": null,
"component": "AiReaction"
},
"__type": "React.Action",
"notes": "",
"uid": "b6062dbd-481b-4b2c-8d97-64c9d68b84b9",
"enabled": true
}, {
"method": {
"method": "SquareWalkToTarget",
"__type": "React.SerializedMethodCall",
"Tag": "AiReaction.SquareWalkToTarget",
"parameters": {},
"ns": null,
"component": "AiReaction"
},
"__type": "React.Action",
"notes": "",
"uid": "c425c1dc-10e6-43ba-a972-fc2dd1895479",
"enabled": true
}, {
"__type": "React.Sleep",
"seconds": 0.25,
"notes": "",
"uid": "a5d0ff49-d65e-4f44-95c7-556bf975a5fc",
"variance": 0,
"enabled": true
}],
"enabled": true
}, {
"__type": "React.Sequence",
"notes": "",
"uid": "0ddb0bcb-1e15-40f9-bfa3-35aab7f6d48c",
"children": [{
"method": {
"method": "Stop",
"__type": "React.SerializedMethodCall",
"Tag": "AiReaction.Stop",
"parameters": {},
"ns": null,
"component": "AiReaction"
},
"__type": "React.Action",
"notes": "",
"uid": "b6062dbd-481b-4b2c-8d97-64c9d68b84b9",
"enabled": true
}, {
"method": {
"method": "PathfindToTarget",
"__type": "React.SerializedMethodCall",
"Tag": "AiReaction.PathfindToTarget",
"parameters": {},
"ns": null,
"component": "AiReaction"
},
"__type": "React.Action",
"notes": "",
"uid": "dc124843-7089-4f23-802d-4682c9cabb57",
"enabled": true
}, {
"__type": "React.Sleep",
"seconds": 0.25,
"notes": "",
"uid": "a5d0ff49-d65e-4f44-95c7-556bf975a5fc",
"variance": 0,
"enabled": true
}],
"enabled": true
}],
"enabled": true
}],
"enabled": true
}, {
"__type": "React.Sequence",
"notes": "",
"uid": "f9a9aa66-0051-4ba6-8363-909c145c0a82",
"children": [{
"__type": "React.Invert",
"notes": "",
"uid": "45916225-15d9-4e06-ba4e-635f5f96723f",
"children": [{
"method": {
"method": "IsTargetNear",
"__type": "React.SerializedMethodCall",
"Tag": "AiReaction.IsTargetNear",
"parameters": {},
"ns": null,
"component": "AiReaction"
},
"__type": "React.Condition",
"notes": "",
"uid": "97cd5a45-9b32-45a3-8722-ddd4a95cc5fc",
"enabled": true
}],
"enabled": true
}, {
"__type": "React.MutatingSelector",
"notes": "",
"uid": "e2c2a4f6-d54e-4b52-8ea3-b3b036b1d64b",
"children": [{
"method": {
"method": "RandomPathfind",
"__type": "React.SerializedMethodCall",
"Tag": "AiReaction.RandomPathfind",
"parameters": {},
"ns": null,
"component": "AiReaction"
},
"__type": "React.Action",
"notes": "",
"uid": "62e973e0-43ba-4170-8b6b-4f13351586a4",
"enabled": true
}, {
"method": {
"method": "Stop",
"__type": "React.SerializedMethodCall",
"Tag": "AiReaction.Stop",
"parameters": {},
"ns": null,
"component": "AiReaction"
},
"__type": "React.Action",
"notes": "",
"uid": "4ef295f8-45ee-478a-ae2d-f0e0b7f5ffc7",
"enabled": true
}],
"enabled": true,
"mutation": "MoveToBottom"
}, {
"__type": "React.Sleep",
"seconds": 1,
"notes": "",
"uid": "a5d0ff49-d65e-4f44-95c7-556bf975a5fc",
"variance": 0.25,
"enabled": true
}],
"enabled": true
}],
"enabled": true
}],
"enabled": true,
"reactable": {
"__type": "Reactable",
"path": "Assets/Scripts/Ai2/Enemies/HielReactable.asset",
"name": "HielReactable",
"GUID": "baef88d347a8b04468a9d42e2a3667c9"
},
"subtrees": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment