EnableAudioListener.scriptcanvas 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 34682042143342
  9. },
  10. "Name": "Script Canvas Graph",
  11. "Components": {
  12. "Component_[3345216589988738976]": {
  13. "$type": "EditorGraph",
  14. "Id": 3345216589988738976,
  15. "m_graphData": {
  16. "m_nodes": [
  17. {
  18. "Id": {
  19. "id": 37250432586350
  20. },
  21. "Name": "SC-Node(IsNetEntityRoleAutonomous)",
  22. "Components": {
  23. "Component_[11463056790034408013]": {
  24. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  25. "Id": 11463056790034408013,
  26. "Slots": [
  27. {
  28. "id": {
  29. "m_id": "{3BE723F3-84B4-4471-9A25-9A5A50C86C0C}"
  30. },
  31. "contracts": [
  32. {
  33. "$type": "SlotTypeContract"
  34. }
  35. ],
  36. "slotName": "EntityId",
  37. "Descriptor": {
  38. "ConnectionType": 1,
  39. "SlotType": 2
  40. },
  41. "DataType": 1
  42. },
  43. {
  44. "id": {
  45. "m_id": "{5294628C-9C18-4F98-9256-3666C6909EDB}"
  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": "{062C3D05-C331-4BE9-9E20-EAF483E23DA1}"
  61. },
  62. "contracts": [
  63. {
  64. "$type": "SlotTypeContract"
  65. }
  66. ],
  67. "slotName": "Out",
  68. "Descriptor": {
  69. "ConnectionType": 2,
  70. "SlotType": 1
  71. }
  72. },
  73. {
  74. "id": {
  75. "m_id": "{2982FB0E-C815-4B55-9DCC-38EED111720C}"
  76. },
  77. "contracts": [
  78. {
  79. "$type": "SlotTypeContract"
  80. }
  81. ],
  82. "slotName": "Boolean",
  83. "DisplayDataType": {
  84. "m_type": 0
  85. },
  86. "Descriptor": {
  87. "ConnectionType": 2,
  88. "SlotType": 2
  89. },
  90. "DataType": 1
  91. }
  92. ],
  93. "Datums": [
  94. {
  95. "isOverloadedStorage": false,
  96. "scriptCanvasType": {
  97. "m_type": 1
  98. },
  99. "isNullPointer": false,
  100. "$type": "EntityId",
  101. "value": {
  102. "id": 2901262558
  103. },
  104. "label": "EntityId"
  105. }
  106. ],
  107. "methodType": 2,
  108. "methodName": "IsNetEntityRoleAutonomous",
  109. "className": "NetBindComponent",
  110. "inputSlots": [
  111. {
  112. "m_id": "{3BE723F3-84B4-4471-9A25-9A5A50C86C0C}"
  113. }
  114. ],
  115. "prettyClassName": "NetBindComponent"
  116. }
  117. }
  118. },
  119. {
  120. "Id": {
  121. "id": 38491678134894
  122. },
  123. "Name": "SC-Node(SetListenerEnabled)",
  124. "Components": {
  125. "Component_[66940120317343807]": {
  126. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  127. "Id": 66940120317343807,
  128. "Slots": [
  129. {
  130. "id": {
  131. "m_id": "{26D442AF-CEB0-44D7-87D5-2ADB95A618E5}"
  132. },
  133. "contracts": [
  134. {
  135. "$type": "SlotTypeContract"
  136. }
  137. ],
  138. "slotName": "EntityId: 0",
  139. "Descriptor": {
  140. "ConnectionType": 1,
  141. "SlotType": 2
  142. },
  143. "DataType": 1
  144. },
  145. {
  146. "id": {
  147. "m_id": "{DB8D2D38-F6BF-4339-9861-8C89321F11D8}"
  148. },
  149. "contracts": [
  150. {
  151. "$type": "SlotTypeContract"
  152. }
  153. ],
  154. "slotName": "Boolean: 1",
  155. "Descriptor": {
  156. "ConnectionType": 1,
  157. "SlotType": 2
  158. },
  159. "DataType": 1
  160. },
  161. {
  162. "id": {
  163. "m_id": "{E4C5B490-D99A-40C3-9AD4-3C10C75AC0B9}"
  164. },
  165. "contracts": [
  166. {
  167. "$type": "SlotTypeContract"
  168. }
  169. ],
  170. "slotName": "In",
  171. "Descriptor": {
  172. "ConnectionType": 1,
  173. "SlotType": 1
  174. }
  175. },
  176. {
  177. "id": {
  178. "m_id": "{F5784BA9-F2E3-4A4E-AF2D-4DD403C8A44C}"
  179. },
  180. "contracts": [
  181. {
  182. "$type": "SlotTypeContract"
  183. }
  184. ],
  185. "slotName": "Out",
  186. "Descriptor": {
  187. "ConnectionType": 2,
  188. "SlotType": 1
  189. }
  190. }
  191. ],
  192. "Datums": [
  193. {
  194. "isOverloadedStorage": false,
  195. "scriptCanvasType": {
  196. "m_type": 1
  197. },
  198. "isNullPointer": false,
  199. "$type": "EntityId",
  200. "value": {
  201. "id": 2901262558
  202. },
  203. "label": "EntityId: 0"
  204. },
  205. {
  206. "isOverloadedStorage": false,
  207. "scriptCanvasType": {
  208. "m_type": 0
  209. },
  210. "isNullPointer": false,
  211. "$type": "bool",
  212. "value": false,
  213. "label": "Boolean: 1"
  214. }
  215. ],
  216. "methodType": 0,
  217. "methodName": "SetListenerEnabled",
  218. "className": "AudioListenerComponentRequestBus",
  219. "inputSlots": [
  220. {
  221. "m_id": "{26D442AF-CEB0-44D7-87D5-2ADB95A618E5}"
  222. },
  223. {
  224. "m_id": "{DB8D2D38-F6BF-4339-9861-8C89321F11D8}"
  225. }
  226. ],
  227. "prettyClassName": "AudioListenerComponentRequestBus"
  228. }
  229. }
  230. },
  231. {
  232. "Id": {
  233. "id": 35279042597486
  234. },
  235. "Name": "SC-Node(Start)",
  236. "Components": {
  237. "Component_[6996863180195611792]": {
  238. "$type": "Start",
  239. "Id": 6996863180195611792,
  240. "Slots": [
  241. {
  242. "id": {
  243. "m_id": "{B26F3821-A723-4C22-8388-69CED16EBECA}"
  244. },
  245. "contracts": [
  246. {
  247. "$type": "SlotTypeContract"
  248. }
  249. ],
  250. "slotName": "Out",
  251. "toolTip": "Signaled when the entity that owns this graph is fully activated.",
  252. "Descriptor": {
  253. "ConnectionType": 2,
  254. "SlotType": 1
  255. }
  256. }
  257. ]
  258. }
  259. }
  260. }
  261. ],
  262. "m_connections": [
  263. {
  264. "Id": {
  265. "id": 39720038781550
  266. },
  267. "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=(IsNetEntityRoleAutonomous: In)",
  268. "Components": {
  269. "Component_[13707475152470223887]": {
  270. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  271. "Id": 13707475152470223887,
  272. "sourceEndpoint": {
  273. "nodeId": {
  274. "id": 35279042597486
  275. },
  276. "slotId": {
  277. "m_id": "{B26F3821-A723-4C22-8388-69CED16EBECA}"
  278. }
  279. },
  280. "targetEndpoint": {
  281. "nodeId": {
  282. "id": 37250432586350
  283. },
  284. "slotId": {
  285. "m_id": "{5294628C-9C18-4F98-9256-3666C6909EDB}"
  286. }
  287. }
  288. }
  289. }
  290. },
  291. {
  292. "Id": {
  293. "id": 40033571394158
  294. },
  295. "Name": "srcEndpoint=(IsNetEntityRoleAutonomous: Out), destEndpoint=(SetListenerEnabled: In)",
  296. "Components": {
  297. "Component_[6291195874832389451]": {
  298. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  299. "Id": 6291195874832389451,
  300. "sourceEndpoint": {
  301. "nodeId": {
  302. "id": 37250432586350
  303. },
  304. "slotId": {
  305. "m_id": "{062C3D05-C331-4BE9-9E20-EAF483E23DA1}"
  306. }
  307. },
  308. "targetEndpoint": {
  309. "nodeId": {
  310. "id": 38491678134894
  311. },
  312. "slotId": {
  313. "m_id": "{E4C5B490-D99A-40C3-9AD4-3C10C75AC0B9}"
  314. }
  315. }
  316. }
  317. }
  318. },
  319. {
  320. "Id": {
  321. "id": 40536082567790
  322. },
  323. "Name": "srcEndpoint=(IsNetEntityRoleAutonomous: Boolean), destEndpoint=(SetListenerEnabled: Boolean: 1)",
  324. "Components": {
  325. "Component_[464355428461432]": {
  326. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  327. "Id": 464355428461432,
  328. "sourceEndpoint": {
  329. "nodeId": {
  330. "id": 37250432586350
  331. },
  332. "slotId": {
  333. "m_id": "{2982FB0E-C815-4B55-9DCC-38EED111720C}"
  334. }
  335. },
  336. "targetEndpoint": {
  337. "nodeId": {
  338. "id": 38491678134894
  339. },
  340. "slotId": {
  341. "m_id": "{DB8D2D38-F6BF-4339-9861-8C89321F11D8}"
  342. }
  343. }
  344. }
  345. }
  346. }
  347. ]
  348. },
  349. "versionData": {
  350. "_grammarVersion": 1,
  351. "_runtimeVersion": 1,
  352. "_fileVersion": 1
  353. },
  354. "GraphCanvasData": [
  355. {
  356. "Key": {
  357. "id": 34682042143342
  358. },
  359. "Value": {
  360. "ComponentData": {
  361. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  362. "$type": "SceneComponentSaveData",
  363. "Constructs": [
  364. {
  365. "Type": 1,
  366. "DataContainer": {
  367. "ComponentData": {
  368. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  369. "$type": "NodeSaveData"
  370. },
  371. "{524D8380-AC09-444E-870E-9CEF2535B4A2}": {
  372. "$type": "CommentNodeTextSaveData",
  373. "Comment": "The only spawned player that should have an enabled audio listener is the one that is locally controlled",
  374. "BackgroundColor": [
  375. 0.9800000190734863,
  376. 0.9700000286102295,
  377. 0.6499999761581421
  378. ],
  379. "FontSettings": {
  380. "PixelSize": 16
  381. }
  382. },
  383. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  384. "$type": "GeometrySaveData",
  385. "Position": [
  386. 140.0,
  387. 0.0
  388. ]
  389. },
  390. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  391. "$type": "StylingComponentSaveData"
  392. },
  393. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  394. "$type": "PersistentIdComponentSaveData",
  395. "PersistentId": "{3B139D5D-9DAC-4107-A843-1E29BFC2315B}"
  396. }
  397. }
  398. }
  399. }
  400. ],
  401. "ViewParams": {
  402. "Scale": 0.6141249999999999,
  403. "AnchorX": -24.42499542236328,
  404. "AnchorY": -221.4532928466797
  405. }
  406. }
  407. }
  408. }
  409. },
  410. {
  411. "Key": {
  412. "id": 35279042597486
  413. },
  414. "Value": {
  415. "ComponentData": {
  416. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  417. "$type": "NodeSaveData"
  418. },
  419. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  420. "$type": "GeneralNodeTitleComponentSaveData",
  421. "PaletteOverride": "TimeNodeTitlePalette"
  422. },
  423. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  424. "$type": "GeometrySaveData",
  425. "Position": [
  426. 140.0,
  427. 180.0
  428. ]
  429. },
  430. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  431. "$type": "StylingComponentSaveData"
  432. },
  433. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  434. "$type": "PersistentIdComponentSaveData",
  435. "PersistentId": "{716FB7B0-1C93-4C41-8C1F-5E0093EDE4EC}"
  436. }
  437. }
  438. }
  439. },
  440. {
  441. "Key": {
  442. "id": 37250432586350
  443. },
  444. "Value": {
  445. "ComponentData": {
  446. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  447. "$type": "NodeSaveData"
  448. },
  449. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  450. "$type": "GeneralNodeTitleComponentSaveData",
  451. "PaletteOverride": "MethodNodeTitlePalette"
  452. },
  453. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  454. "$type": "GeometrySaveData",
  455. "Position": [
  456. 320.0,
  457. 160.0
  458. ]
  459. },
  460. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  461. "$type": "StylingComponentSaveData",
  462. "SubStyle": ".method"
  463. },
  464. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  465. "$type": "PersistentIdComponentSaveData",
  466. "PersistentId": "{D5763830-4F20-43E8-9402-4B27A1F4628C}"
  467. }
  468. }
  469. }
  470. },
  471. {
  472. "Key": {
  473. "id": 38491678134894
  474. },
  475. "Value": {
  476. "ComponentData": {
  477. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  478. "$type": "NodeSaveData"
  479. },
  480. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  481. "$type": "GeneralNodeTitleComponentSaveData",
  482. "PaletteOverride": "MethodNodeTitlePalette"
  483. },
  484. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  485. "$type": "GeometrySaveData",
  486. "Position": [
  487. 800.0,
  488. 140.0
  489. ]
  490. },
  491. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  492. "$type": "StylingComponentSaveData",
  493. "SubStyle": ".method"
  494. },
  495. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  496. "$type": "PersistentIdComponentSaveData",
  497. "PersistentId": "{E76D515D-1904-4564-85A9-2AFD4588639F}"
  498. }
  499. }
  500. }
  501. }
  502. ],
  503. "StatisticsHelper": {
  504. "InstanceCounter": [
  505. {
  506. "Key": 4199610336680704683,
  507. "Value": 1
  508. },
  509. {
  510. "Key": 13774516313723061217,
  511. "Value": 1
  512. },
  513. {
  514. "Key": 16186981969449803870,
  515. "Value": 1
  516. }
  517. ]
  518. }
  519. },
  520. "Component_[8479969179834495137]": {
  521. "$type": "EditorGraphVariableManagerComponent",
  522. "Id": 8479969179834495137
  523. }
  524. }
  525. }
  526. }
  527. }