Silhouette.scriptcanvas 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 655089300800
  9. },
  10. "Name": "Script Canvas Graph",
  11. "Components": {
  12. "Component_[12884397704112171065]": {
  13. "$type": "EditorGraph",
  14. "Id": 12884397704112171065,
  15. "m_graphData": {
  16. "m_nodes": [
  17. {
  18. "Id": {
  19. "id": 5495517443392
  20. },
  21. "Name": "SC-Node(ExecuteConsoleCommand)",
  22. "Components": {
  23. "Component_[16978772701306804442]": {
  24. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  25. "Id": 16978772701306804442,
  26. "Slots": [
  27. {
  28. "id": {
  29. "m_id": "{191CEB6C-0A98-4D3F-A78D-F46E699CE287}"
  30. },
  31. "contracts": [
  32. {
  33. "$type": "SlotTypeContract"
  34. }
  35. ],
  36. "slotName": "String",
  37. "Descriptor": {
  38. "ConnectionType": 1,
  39. "SlotType": 2
  40. },
  41. "DataType": 1
  42. },
  43. {
  44. "id": {
  45. "m_id": "{656CC550-632A-4BB4-851D-C376358B5A3F}"
  46. },
  47. "contracts": [
  48. {
  49. "$type": "SlotTypeContract"
  50. }
  51. ],
  52. "slotName": "In",
  53. "Descriptor": {
  54. "ConnectionType": 1,
  55. "SlotType": 1
  56. }
  57. },
  58. {
  59. "id": {
  60. "m_id": "{B7CD92CE-BE03-4818-B75D-E5C178390262}"
  61. },
  62. "contracts": [
  63. {
  64. "$type": "SlotTypeContract"
  65. }
  66. ],
  67. "slotName": "Out",
  68. "Descriptor": {
  69. "ConnectionType": 2,
  70. "SlotType": 1
  71. }
  72. }
  73. ],
  74. "Datums": [
  75. {
  76. "isOverloadedStorage": false,
  77. "scriptCanvasType": {
  78. "m_type": 5
  79. },
  80. "isNullPointer": false,
  81. "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string",
  82. "value": "r_silhouette 0",
  83. "label": "Command"
  84. }
  85. ],
  86. "methodType": 0,
  87. "methodName": "ExecuteConsoleCommand",
  88. "className": "ConsoleRequestBus",
  89. "inputSlots": [
  90. {
  91. "m_id": "{191CEB6C-0A98-4D3F-A78D-F46E699CE287}"
  92. }
  93. ],
  94. "prettyClassName": "ConsoleRequestBus"
  95. }
  96. }
  97. },
  98. {
  99. "Id": {
  100. "id": 16769806595392
  101. },
  102. "Name": "EBusEventHandler",
  103. "Components": {
  104. "Component_[2956567096039969287]": {
  105. "$type": "EBusEventHandler",
  106. "Id": 2956567096039969287,
  107. "Slots": [
  108. {
  109. "id": {
  110. "m_id": "{366F0012-CAB6-4FD1-A660-C15D69D95B65}"
  111. },
  112. "contracts": [
  113. {
  114. "$type": "SlotTypeContract"
  115. }
  116. ],
  117. "slotName": "Connect",
  118. "toolTip": "Connect this event handler to the specified entity.",
  119. "Descriptor": {
  120. "ConnectionType": 1,
  121. "SlotType": 1
  122. }
  123. },
  124. {
  125. "id": {
  126. "m_id": "{B70E4A19-A39E-4176-890B-FFAF53D959F2}"
  127. },
  128. "contracts": [
  129. {
  130. "$type": "SlotTypeContract"
  131. }
  132. ],
  133. "slotName": "Disconnect",
  134. "toolTip": "Disconnect this event handler.",
  135. "Descriptor": {
  136. "ConnectionType": 1,
  137. "SlotType": 1
  138. }
  139. },
  140. {
  141. "id": {
  142. "m_id": "{41A4A51E-60A8-4A5F-AB00-E8E2BBBFA0DF}"
  143. },
  144. "contracts": [
  145. {
  146. "$type": "SlotTypeContract"
  147. }
  148. ],
  149. "slotName": "OnConnected",
  150. "toolTip": "Signaled when a connection has taken place.",
  151. "Descriptor": {
  152. "ConnectionType": 2,
  153. "SlotType": 1
  154. }
  155. },
  156. {
  157. "id": {
  158. "m_id": "{DAD77787-1391-4200-B68C-32E400BC4683}"
  159. },
  160. "contracts": [
  161. {
  162. "$type": "SlotTypeContract"
  163. }
  164. ],
  165. "slotName": "OnDisconnected",
  166. "toolTip": "Signaled when this event handler is disconnected.",
  167. "Descriptor": {
  168. "ConnectionType": 2,
  169. "SlotType": 1
  170. }
  171. },
  172. {
  173. "id": {
  174. "m_id": "{E182A1D8-16D7-40E1-9FAC-172EA4AC93BB}"
  175. },
  176. "contracts": [
  177. {
  178. "$type": "SlotTypeContract"
  179. }
  180. ],
  181. "slotName": "OnFailure",
  182. "toolTip": "Signaled when it is not possible to connect this handler.",
  183. "Descriptor": {
  184. "ConnectionType": 2,
  185. "SlotType": 1
  186. }
  187. },
  188. {
  189. "id": {
  190. "m_id": "{F2B6C70F-C6FC-4CB2-ABB8-82AD7879E6EF}"
  191. },
  192. "contracts": [
  193. {
  194. "$type": "SlotTypeContract"
  195. }
  196. ],
  197. "slotName": "Source",
  198. "toolTip": "ID used to connect on a specific Event address (Type: EntityId)",
  199. "Descriptor": {
  200. "ConnectionType": 1,
  201. "SlotType": 2
  202. },
  203. "DataType": 1
  204. },
  205. {
  206. "id": {
  207. "m_id": "{5293BB09-79D0-4CE7-AFD6-27545A74ECDC}"
  208. },
  209. "contracts": [
  210. {
  211. "$type": "SlotTypeContract"
  212. }
  213. ],
  214. "slotName": "EntityId",
  215. "DisplayDataType": {
  216. "m_type": 1
  217. },
  218. "Descriptor": {
  219. "ConnectionType": 2,
  220. "SlotType": 2
  221. },
  222. "DataType": 1
  223. },
  224. {
  225. "id": {
  226. "m_id": "{93008807-7799-4E9C-9E1D-DDBB455B87F4}"
  227. },
  228. "contracts": [
  229. {
  230. "$type": "SlotTypeContract"
  231. }
  232. ],
  233. "slotName": "ExecutionSlot:OnEntityActivated",
  234. "Descriptor": {
  235. "ConnectionType": 2,
  236. "SlotType": 1
  237. },
  238. "IsLatent": true
  239. },
  240. {
  241. "id": {
  242. "m_id": "{2644B100-E433-41B4-80A0-00FEBE570792}"
  243. },
  244. "contracts": [
  245. {
  246. "$type": "SlotTypeContract"
  247. }
  248. ],
  249. "slotName": "EntityId",
  250. "DisplayDataType": {
  251. "m_type": 1
  252. },
  253. "Descriptor": {
  254. "ConnectionType": 2,
  255. "SlotType": 2
  256. },
  257. "DataType": 1
  258. },
  259. {
  260. "id": {
  261. "m_id": "{E0BAF21D-FE72-4119-A150-1EE9CAF18CB6}"
  262. },
  263. "contracts": [
  264. {
  265. "$type": "SlotTypeContract"
  266. }
  267. ],
  268. "slotName": "ExecutionSlot:OnEntityDeactivated",
  269. "Descriptor": {
  270. "ConnectionType": 2,
  271. "SlotType": 1
  272. },
  273. "IsLatent": true
  274. }
  275. ],
  276. "Datums": [
  277. {
  278. "isOverloadedStorage": false,
  279. "scriptCanvasType": {
  280. "m_type": 1
  281. },
  282. "isNullPointer": false,
  283. "$type": "EntityId",
  284. "value": {
  285. "id": 2901262558
  286. }
  287. }
  288. ],
  289. "Id": 2956567096039969287,
  290. "m_eventMap": [
  291. {
  292. "Key": {
  293. "Value": 245425936
  294. },
  295. "Value": {
  296. "m_eventName": "OnEntityActivated",
  297. "m_eventId": {
  298. "Value": 245425936
  299. },
  300. "m_eventSlotId": {
  301. "m_id": "{93008807-7799-4E9C-9E1D-DDBB455B87F4}"
  302. },
  303. "m_parameterSlotIds": [
  304. {
  305. "m_id": "{5293BB09-79D0-4CE7-AFD6-27545A74ECDC}"
  306. }
  307. ],
  308. "m_numExpectedArguments": 1
  309. }
  310. },
  311. {
  312. "Key": {
  313. "Value": 4273369222
  314. },
  315. "Value": {
  316. "m_eventName": "OnEntityDeactivated",
  317. "m_eventId": {
  318. "Value": 4273369222
  319. },
  320. "m_eventSlotId": {
  321. "m_id": "{E0BAF21D-FE72-4119-A150-1EE9CAF18CB6}"
  322. },
  323. "m_parameterSlotIds": [
  324. {
  325. "m_id": "{2644B100-E433-41B4-80A0-00FEBE570792}"
  326. }
  327. ],
  328. "m_numExpectedArguments": 1
  329. }
  330. }
  331. ],
  332. "m_ebusName": "EntityBus",
  333. "m_busId": {
  334. "Value": 3358774020
  335. }
  336. }
  337. }
  338. },
  339. {
  340. "Id": {
  341. "id": 3296494187840
  342. },
  343. "Name": "SC-Node(ExecuteConsoleCommand)",
  344. "Components": {
  345. "Component_[4104562768843824295]": {
  346. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  347. "Id": 4104562768843824295,
  348. "Slots": [
  349. {
  350. "id": {
  351. "m_id": "{CB50526B-6071-4675-9195-2E65841C0EB7}"
  352. },
  353. "contracts": [
  354. {
  355. "$type": "SlotTypeContract"
  356. }
  357. ],
  358. "slotName": "String",
  359. "Descriptor": {
  360. "ConnectionType": 1,
  361. "SlotType": 2
  362. },
  363. "DataType": 1
  364. },
  365. {
  366. "id": {
  367. "m_id": "{A65F464C-8276-43AF-BE4D-6123338795A0}"
  368. },
  369. "contracts": [
  370. {
  371. "$type": "SlotTypeContract"
  372. }
  373. ],
  374. "slotName": "In",
  375. "Descriptor": {
  376. "ConnectionType": 1,
  377. "SlotType": 1
  378. }
  379. },
  380. {
  381. "id": {
  382. "m_id": "{773813E9-2272-4430-ACBF-3F22F6D5AAD2}"
  383. },
  384. "contracts": [
  385. {
  386. "$type": "SlotTypeContract"
  387. }
  388. ],
  389. "slotName": "Out",
  390. "Descriptor": {
  391. "ConnectionType": 2,
  392. "SlotType": 1
  393. }
  394. }
  395. ],
  396. "Datums": [
  397. {
  398. "isOverloadedStorage": false,
  399. "scriptCanvasType": {
  400. "m_type": 5
  401. },
  402. "isNullPointer": false,
  403. "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string",
  404. "value": "r_silhouette 1",
  405. "label": "Command"
  406. }
  407. ],
  408. "methodType": 0,
  409. "methodName": "ExecuteConsoleCommand",
  410. "className": "ConsoleRequestBus",
  411. "inputSlots": [
  412. {
  413. "m_id": "{CB50526B-6071-4675-9195-2E65841C0EB7}"
  414. }
  415. ],
  416. "prettyClassName": "ConsoleRequestBus"
  417. }
  418. }
  419. }
  420. ],
  421. "m_connections": [
  422. {
  423. "Id": {
  424. "id": 19329607103808
  425. },
  426. "Name": "srcEndpoint=(EntityBus Handler: ExecutionSlot:OnEntityActivated), destEndpoint=(ExecuteConsoleCommand: In)",
  427. "Components": {
  428. "Component_[3460867018602754265]": {
  429. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  430. "Id": 3460867018602754265,
  431. "sourceEndpoint": {
  432. "nodeId": {
  433. "id": 16769806595392
  434. },
  435. "slotId": {
  436. "m_id": "{93008807-7799-4E9C-9E1D-DDBB455B87F4}"
  437. }
  438. },
  439. "targetEndpoint": {
  440. "nodeId": {
  441. "id": 3296494187840
  442. },
  443. "slotId": {
  444. "m_id": "{A65F464C-8276-43AF-BE4D-6123338795A0}"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. {
  451. "Id": {
  452. "id": 20446298600768
  453. },
  454. "Name": "srcEndpoint=(EntityBus Handler: ExecutionSlot:OnEntityDeactivated), destEndpoint=(ExecuteConsoleCommand: In)",
  455. "Components": {
  456. "Component_[9498010169431111038]": {
  457. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  458. "Id": 9498010169431111038,
  459. "sourceEndpoint": {
  460. "nodeId": {
  461. "id": 16769806595392
  462. },
  463. "slotId": {
  464. "m_id": "{E0BAF21D-FE72-4119-A150-1EE9CAF18CB6}"
  465. }
  466. },
  467. "targetEndpoint": {
  468. "nodeId": {
  469. "id": 5495517443392
  470. },
  471. "slotId": {
  472. "m_id": "{656CC550-632A-4BB4-851D-C376358B5A3F}"
  473. }
  474. }
  475. }
  476. }
  477. }
  478. ]
  479. },
  480. "versionData": {
  481. "_grammarVersion": 1,
  482. "_runtimeVersion": 1,
  483. "_fileVersion": 1
  484. },
  485. "GraphCanvasData": [
  486. {
  487. "Key": {
  488. "id": 655089300800
  489. },
  490. "Value": {
  491. "ComponentData": {
  492. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  493. "$type": "SceneComponentSaveData",
  494. "ViewParams": {
  495. "AnchorX": 13.0,
  496. "AnchorY": -5.0
  497. }
  498. }
  499. }
  500. }
  501. },
  502. {
  503. "Key": {
  504. "id": 3296494187840
  505. },
  506. "Value": {
  507. "ComponentData": {
  508. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  509. "$type": "NodeSaveData"
  510. },
  511. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  512. "$type": "GeneralNodeTitleComponentSaveData",
  513. "PaletteOverride": "MethodNodeTitlePalette"
  514. },
  515. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  516. "$type": "GeometrySaveData",
  517. "Position": [
  518. 620.0,
  519. 180.0
  520. ]
  521. },
  522. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  523. "$type": "StylingComponentSaveData",
  524. "SubStyle": ".method"
  525. },
  526. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  527. "$type": "PersistentIdComponentSaveData",
  528. "PersistentId": "{E0A0CF0F-E6FC-4C90-B167-3CB2C399C9A1}"
  529. }
  530. }
  531. }
  532. },
  533. {
  534. "Key": {
  535. "id": 5495517443392
  536. },
  537. "Value": {
  538. "ComponentData": {
  539. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  540. "$type": "NodeSaveData"
  541. },
  542. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  543. "$type": "GeneralNodeTitleComponentSaveData",
  544. "PaletteOverride": "MethodNodeTitlePalette"
  545. },
  546. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  547. "$type": "GeometrySaveData",
  548. "Position": [
  549. 640.0,
  550. 460.0
  551. ]
  552. },
  553. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  554. "$type": "StylingComponentSaveData",
  555. "SubStyle": ".method"
  556. },
  557. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  558. "$type": "PersistentIdComponentSaveData",
  559. "PersistentId": "{56393B3E-DD52-4094-B9A3-008377CFFDC9}"
  560. }
  561. }
  562. }
  563. },
  564. {
  565. "Key": {
  566. "id": 16769806595392
  567. },
  568. "Value": {
  569. "ComponentData": {
  570. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  571. "$type": "NodeSaveData"
  572. },
  573. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  574. "$type": "GeometrySaveData",
  575. "Position": [
  576. 180.0,
  577. 160.0
  578. ]
  579. },
  580. "{9E81C95F-89C0-4476-8E82-63CCC4E52E04}": {
  581. "$type": "EBusHandlerNodeDescriptorSaveData",
  582. "EventIds": [
  583. {
  584. "Value": 245425936
  585. },
  586. {
  587. "Value": 4273369222
  588. }
  589. ]
  590. },
  591. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  592. "$type": "StylingComponentSaveData"
  593. },
  594. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  595. "$type": "PersistentIdComponentSaveData",
  596. "PersistentId": "{EA05E2BE-62ED-454D-A7A2-8D359AA3A4E2}"
  597. }
  598. }
  599. }
  600. }
  601. ],
  602. "StatisticsHelper": {
  603. "InstanceCounter": [
  604. {
  605. "Key": 5842116757075334384,
  606. "Value": 1
  607. },
  608. {
  609. "Key": 5842116761103598202,
  610. "Value": 1
  611. },
  612. {
  613. "Key": 13774516393157610292,
  614. "Value": 2
  615. }
  616. ]
  617. }
  618. },
  619. "Component_[5601587301036697695]": {
  620. "$type": "EditorGraphVariableManagerComponent",
  621. "Id": 5601587301036697695
  622. }
  623. }
  624. }
  625. }
  626. }