SimpleSpawnNoDespawn.scriptcanvas 84 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 10092864915112
  9. },
  10. "Name": "Script Canvas Graph",
  11. "Components": {
  12. "Component_[11233236371364747097]": {
  13. "$type": "EditorGraphVariableManagerComponent",
  14. "Id": 11233236371364747097,
  15. "m_variableData": {
  16. "m_nameVariableMap": [
  17. {
  18. "Key": {
  19. "m_id": "{EBDBF3C5-6E15-42D6-B5B4-3FE05782F644}"
  20. },
  21. "Value": {
  22. "Datum": {
  23. "scriptCanvasType": {
  24. "m_type": 4,
  25. "m_azType": "{A96A5037-AD0D-43B6-9948-ED63438C4A52}"
  26. },
  27. "isNullPointer": false,
  28. "$type": "AzFramework::Scripts::SpawnableScriptAssetRef",
  29. "value": {
  30. "asset": {
  31. "assetId": {
  32. "guid": "{80C0CF4E-9A5E-544B-B89E-BC980175A259}",
  33. "subId": 3875079122
  34. },
  35. "assetHint": "assets/prefabs/pinkflower.spawnable"
  36. }
  37. }
  38. },
  39. "VariableId": {
  40. "m_id": "{EBDBF3C5-6E15-42D6-B5B4-3FE05782F644}"
  41. },
  42. "VariableName": "PrefabToSpawn"
  43. }
  44. },
  45. {
  46. "Key": {
  47. "m_id": "{FFE1B40F-7C24-47E8-B741-0A6B8E4CB678}"
  48. },
  49. "Value": {
  50. "Datum": {
  51. "scriptCanvasType": {
  52. "m_type": 4,
  53. "m_azType": "{BA62FF9A-A01E-4FEB-84C6-200881DF2B2B}"
  54. },
  55. "isNullPointer": false,
  56. "$type": "AzFramework::EntitySpawnTicket"
  57. },
  58. "VariableId": {
  59. "m_id": "{FFE1B40F-7C24-47E8-B741-0A6B8E4CB678}"
  60. },
  61. "VariableName": "ActiveSpawnTicket"
  62. }
  63. }
  64. ]
  65. }
  66. },
  67. "Component_[18094180391965100501]": {
  68. "$type": "EditorGraph",
  69. "Id": 18094180391965100501,
  70. "m_graphData": {
  71. "m_nodes": [
  72. {
  73. "Id": {
  74. "id": 27646396253864
  75. },
  76. "Name": "SC-Node(Print)",
  77. "Components": {
  78. "Component_[11563691794038409995]": {
  79. "$type": "Print",
  80. "Id": 11563691794038409995,
  81. "Slots": [
  82. {
  83. "id": {
  84. "m_id": "{88DA8FC0-5EDB-4908-8B00-CE6AEFDD8C54}"
  85. },
  86. "contracts": [
  87. {
  88. "$type": "SlotTypeContract"
  89. }
  90. ],
  91. "slotName": "In",
  92. "toolTip": "Input signal",
  93. "Descriptor": {
  94. "ConnectionType": 1,
  95. "SlotType": 1
  96. }
  97. },
  98. {
  99. "id": {
  100. "m_id": "{A0CEBF36-3D5D-48FA-ADF1-0074F3A51094}"
  101. },
  102. "DynamicTypeOverride": 3,
  103. "contracts": [
  104. {
  105. "$type": "SlotTypeContract"
  106. }
  107. ],
  108. "slotName": "Value",
  109. "toolTip": "Value which replaces instances of {Value} in the resulting string.",
  110. "DisplayDataType": {
  111. "m_type": 1
  112. },
  113. "DisplayGroup": {
  114. "Value": 1015031923
  115. },
  116. "Descriptor": {
  117. "ConnectionType": 1,
  118. "SlotType": 2
  119. },
  120. "DataType": 1
  121. },
  122. {
  123. "id": {
  124. "m_id": "{4B130DC6-D0B0-4B4D-A21F-EB7D4055AFDF}"
  125. },
  126. "contracts": [
  127. {
  128. "$type": "SlotTypeContract"
  129. }
  130. ],
  131. "slotName": "Out",
  132. "Descriptor": {
  133. "ConnectionType": 2,
  134. "SlotType": 1
  135. }
  136. }
  137. ],
  138. "Datums": [
  139. {
  140. "scriptCanvasType": {
  141. "m_type": 1
  142. },
  143. "isNullPointer": false,
  144. "$type": "EntityId",
  145. "value": {
  146. "id": 2901262558
  147. },
  148. "label": "Value"
  149. }
  150. ],
  151. "m_format": "Entity Spawned: {Value}",
  152. "m_arrayBindingMap": [
  153. {
  154. "Key": 1,
  155. "Value": {
  156. "m_id": "{A0CEBF36-3D5D-48FA-ADF1-0074F3A51094}"
  157. }
  158. }
  159. ],
  160. "m_unresolvedString": [
  161. "Entity Spawned: ",
  162. {}
  163. ],
  164. "m_formatSlotMap": {
  165. "Value": {
  166. "m_id": "{A0CEBF36-3D5D-48FA-ADF1-0074F3A51094}"
  167. }
  168. }
  169. }
  170. }
  171. },
  172. {
  173. "Id": {
  174. "id": 27642101286568
  175. },
  176. "Name": "SC-Node(ForEach)",
  177. "Components": {
  178. "Component_[14923860334565722713]": {
  179. "$type": "ForEach",
  180. "Id": 14923860334565722713,
  181. "Slots": [
  182. {
  183. "id": {
  184. "m_id": "{0C6793EC-A9C2-4D03-AFFB-E116B64F90A2}"
  185. },
  186. "DynamicTypeOverride": 2,
  187. "contracts": [
  188. {
  189. "$type": "SlotTypeContract"
  190. }
  191. ],
  192. "slotName": "Source",
  193. "DisplayDataType": {
  194. "m_type": 4,
  195. "m_azType": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}"
  196. },
  197. "Descriptor": {
  198. "ConnectionType": 1,
  199. "SlotType": 2
  200. },
  201. "DynamicGroup": {
  202. "Value": 3089028177
  203. },
  204. "DataType": 1
  205. },
  206. {
  207. "id": {
  208. "m_id": "{F539A649-4B9A-4AC9-B199-F323E46D9D92}"
  209. },
  210. "contracts": [
  211. {
  212. "$type": "SlotTypeContract"
  213. }
  214. ],
  215. "slotName": "In",
  216. "toolTip": "Signaled upon node entry",
  217. "Descriptor": {
  218. "ConnectionType": 1,
  219. "SlotType": 1
  220. }
  221. },
  222. {
  223. "id": {
  224. "m_id": "{01AC0852-54C9-4186-9C41-277E532DFB37}"
  225. },
  226. "contracts": [
  227. {
  228. "$type": "SlotTypeContract"
  229. }
  230. ],
  231. "slotName": "Break",
  232. "toolTip": "Stops the iteration when signaled",
  233. "Descriptor": {
  234. "ConnectionType": 1,
  235. "SlotType": 1
  236. }
  237. },
  238. {
  239. "id": {
  240. "m_id": "{1B9F8757-86B9-4459-85E9-1A935AC72655}"
  241. },
  242. "contracts": [
  243. {
  244. "$type": "SlotTypeContract"
  245. }
  246. ],
  247. "slotName": "Each",
  248. "toolTip": "Signalled after each element of the container",
  249. "Descriptor": {
  250. "ConnectionType": 2,
  251. "SlotType": 1
  252. }
  253. },
  254. {
  255. "id": {
  256. "m_id": "{E053F603-4513-46F7-A823-0BD0A4473FAD}"
  257. },
  258. "contracts": [
  259. {
  260. "$type": "SlotTypeContract"
  261. }
  262. ],
  263. "slotName": "Finished",
  264. "toolTip": "The container has been fully iterated over",
  265. "Descriptor": {
  266. "ConnectionType": 2,
  267. "SlotType": 1
  268. }
  269. },
  270. {
  271. "id": {
  272. "m_id": "{11069609-0EDB-4414-88D0-B159670A587E}"
  273. },
  274. "contracts": [
  275. {
  276. "$type": "SlotTypeContract"
  277. }
  278. ],
  279. "slotName": "EntityId",
  280. "DisplayDataType": {
  281. "m_type": 1
  282. },
  283. "Descriptor": {
  284. "ConnectionType": 2,
  285. "SlotType": 2
  286. },
  287. "DataType": 1
  288. }
  289. ],
  290. "Datums": [
  291. {
  292. "isOverloadedStorage": false,
  293. "scriptCanvasType": {
  294. "m_type": 4,
  295. "m_azType": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}"
  296. },
  297. "isNullPointer": true,
  298. "label": "Source"
  299. }
  300. ],
  301. "m_sourceSlot": {
  302. "m_id": "{0C6793EC-A9C2-4D03-AFFB-E116B64F90A2}"
  303. },
  304. "m_previousTypeId": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}",
  305. "m_propertySlots": [
  306. {
  307. "m_propertySlotId": {
  308. "m_id": "{11069609-0EDB-4414-88D0-B159670A587E}"
  309. },
  310. "m_propertyType": {
  311. "m_type": 1
  312. },
  313. "m_propertyName": "EntityId"
  314. }
  315. ]
  316. }
  317. }
  318. },
  319. {
  320. "Id": {
  321. "id": 10097159882408
  322. },
  323. "Name": "SC-Node(SpawnNodeableNode)",
  324. "Components": {
  325. "Component_[16023675870990862241]": {
  326. "$type": "SpawnNodeableNode",
  327. "Id": 16023675870990862241,
  328. "Slots": [
  329. {
  330. "id": {
  331. "m_id": "{A6828D2F-0D3C-49A7-81B0-3D2BBBF644EE}"
  332. },
  333. "contracts": [
  334. {
  335. "$type": "SlotTypeContract"
  336. }
  337. ],
  338. "slotName": "Request Spawn",
  339. "DisplayGroup": {
  340. "Value": 929942742
  341. },
  342. "Descriptor": {
  343. "ConnectionType": 1,
  344. "SlotType": 1
  345. }
  346. },
  347. {
  348. "id": {
  349. "m_id": "{A2C86C3F-AAFD-4B76-8DA3-9952C5016AFC}"
  350. },
  351. "contracts": [
  352. {
  353. "$type": "SlotTypeContract"
  354. }
  355. ],
  356. "slotName": "SpawnTicket",
  357. "toolTip": "Ticket instance assosiated with spawnable asset.",
  358. "DisplayGroup": {
  359. "Value": 929942742
  360. },
  361. "Descriptor": {
  362. "ConnectionType": 1,
  363. "SlotType": 2
  364. },
  365. "DataType": 1,
  366. "IsReference": true,
  367. "VariableReference": {
  368. "m_id": "{FFE1B40F-7C24-47E8-B741-0A6B8E4CB678}"
  369. }
  370. },
  371. {
  372. "id": {
  373. "m_id": "{16BB29F7-1A9D-457C-8500-FB9F5E68436C}"
  374. },
  375. "contracts": [
  376. {
  377. "$type": "SlotTypeContract"
  378. }
  379. ],
  380. "slotName": "ParentId",
  381. "toolTip": "Optional parent to assign spawned container entity to.",
  382. "DisplayGroup": {
  383. "Value": 929942742
  384. },
  385. "Descriptor": {
  386. "ConnectionType": 1,
  387. "SlotType": 2
  388. },
  389. "DataType": 1
  390. },
  391. {
  392. "id": {
  393. "m_id": "{32950B14-B360-4FDC-A08D-992E36DE9D8E}"
  394. },
  395. "contracts": [
  396. {
  397. "$type": "SlotTypeContract"
  398. }
  399. ],
  400. "slotName": "Local Translation",
  401. "toolTip": "Position to spawn.",
  402. "DisplayGroup": {
  403. "Value": 929942742
  404. },
  405. "Descriptor": {
  406. "ConnectionType": 1,
  407. "SlotType": 2
  408. },
  409. "DataType": 1
  410. },
  411. {
  412. "id": {
  413. "m_id": "{D85D96CA-31FA-4F58-81E2-676BD5BB2DC3}"
  414. },
  415. "contracts": [
  416. {
  417. "$type": "SlotTypeContract"
  418. }
  419. ],
  420. "slotName": "Local Rotation",
  421. "toolTip": "Rotation of spawn (in degrees).",
  422. "DisplayGroup": {
  423. "Value": 929942742
  424. },
  425. "Descriptor": {
  426. "ConnectionType": 1,
  427. "SlotType": 2
  428. },
  429. "DataType": 1
  430. },
  431. {
  432. "id": {
  433. "m_id": "{D18E8F5B-5367-4220-B89B-8FC1BE48CD66}"
  434. },
  435. "contracts": [
  436. {
  437. "$type": "SlotTypeContract"
  438. }
  439. ],
  440. "slotName": "Local Scale",
  441. "toolTip": "Scale of spawn.",
  442. "DisplayGroup": {
  443. "Value": 929942742
  444. },
  445. "Descriptor": {
  446. "ConnectionType": 1,
  447. "SlotType": 2
  448. },
  449. "DataType": 1
  450. },
  451. {
  452. "id": {
  453. "m_id": "{420043F1-9FA7-4577-AD3E-A79643110A13}"
  454. },
  455. "contracts": [
  456. {
  457. "$type": "SlotTypeContract"
  458. }
  459. ],
  460. "slotName": "Spawn Requested",
  461. "DisplayGroup": {
  462. "Value": 929942742
  463. },
  464. "Descriptor": {
  465. "ConnectionType": 2,
  466. "SlotType": 1
  467. }
  468. },
  469. {
  470. "id": {
  471. "m_id": "{533EE362-5F6A-4DE3-9D3A-8D4E8E051EE8}"
  472. },
  473. "contracts": [
  474. {
  475. "$type": "SlotTypeContract"
  476. }
  477. ],
  478. "slotName": "On Spawn Completed",
  479. "toolTip": "Called when spawning entities is completed.",
  480. "DisplayGroup": {
  481. "Value": 3165055374
  482. },
  483. "Descriptor": {
  484. "ConnectionType": 2,
  485. "SlotType": 1
  486. },
  487. "IsLatent": true
  488. },
  489. {
  490. "id": {
  491. "m_id": "{1B876B02-02D0-410C-9DF8-4CCA1C158686}"
  492. },
  493. "contracts": [
  494. {
  495. "$type": "SlotTypeContract"
  496. }
  497. ],
  498. "slotName": "SpawnTicketOut",
  499. "toolTip": "Ticket instance of the spawn result.",
  500. "DisplayDataType": {
  501. "m_type": 4,
  502. "m_azType": "{BA62FF9A-A01E-4FEB-84C6-200881DF2B2B}"
  503. },
  504. "DisplayGroup": {
  505. "Value": 3165055374
  506. },
  507. "Descriptor": {
  508. "ConnectionType": 2,
  509. "SlotType": 2
  510. },
  511. "DataType": 1
  512. },
  513. {
  514. "id": {
  515. "m_id": "{59B6C6E5-86BA-43E3-BDAD-BE0530E0EDB7}"
  516. },
  517. "contracts": [
  518. {
  519. "$type": "SlotTypeContract"
  520. }
  521. ],
  522. "slotName": "SpawnedEntitiesList",
  523. "toolTip": "List of spawned entities sorted by hierarchy with the root being first.",
  524. "DisplayDataType": {
  525. "m_type": 4,
  526. "m_azType": "{4841CFF0-7A5C-519C-BD16-D3625E99605E}"
  527. },
  528. "DisplayGroup": {
  529. "Value": 3165055374
  530. },
  531. "Descriptor": {
  532. "ConnectionType": 2,
  533. "SlotType": 2
  534. },
  535. "DataType": 1
  536. }
  537. ],
  538. "Datums": [
  539. {
  540. "scriptCanvasType": {
  541. "m_type": 4,
  542. "m_azType": "{BA62FF9A-A01E-4FEB-84C6-200881DF2B2B}"
  543. },
  544. "isNullPointer": false,
  545. "$type": "AzFramework::EntitySpawnTicket",
  546. "label": "SpawnTicket"
  547. },
  548. {
  549. "scriptCanvasType": {
  550. "m_type": 1
  551. },
  552. "isNullPointer": false,
  553. "$type": "EntityId",
  554. "value": {
  555. "id": 2901262558
  556. },
  557. "label": "ParentId"
  558. },
  559. {
  560. "scriptCanvasType": {
  561. "m_type": 8
  562. },
  563. "isNullPointer": false,
  564. "$type": "Vector3",
  565. "value": [
  566. 0.0,
  567. 0.0,
  568. 0.0
  569. ],
  570. "label": "Local Translation"
  571. },
  572. {
  573. "scriptCanvasType": {
  574. "m_type": 8
  575. },
  576. "isNullPointer": false,
  577. "$type": "Vector3",
  578. "value": [
  579. 0.0,
  580. 0.0,
  581. 0.0
  582. ],
  583. "label": "Local Rotation"
  584. },
  585. {
  586. "scriptCanvasType": {
  587. "m_type": 3
  588. },
  589. "isNullPointer": false,
  590. "$type": "double",
  591. "value": 1.0,
  592. "label": "Local Scale"
  593. }
  594. ],
  595. "slotExecutionMap": {
  596. "ins": [
  597. {
  598. "_slotId": {
  599. "m_id": "{A6828D2F-0D3C-49A7-81B0-3D2BBBF644EE}"
  600. },
  601. "_inputs": [
  602. {
  603. "_slotId": {
  604. "m_id": "{A2C86C3F-AAFD-4B76-8DA3-9952C5016AFC}"
  605. }
  606. },
  607. {
  608. "_slotId": {
  609. "m_id": "{16BB29F7-1A9D-457C-8500-FB9F5E68436C}"
  610. }
  611. },
  612. {
  613. "_slotId": {
  614. "m_id": "{32950B14-B360-4FDC-A08D-992E36DE9D8E}"
  615. }
  616. },
  617. {
  618. "_slotId": {
  619. "m_id": "{D85D96CA-31FA-4F58-81E2-676BD5BB2DC3}"
  620. }
  621. },
  622. {
  623. "_slotId": {
  624. "m_id": "{D18E8F5B-5367-4220-B89B-8FC1BE48CD66}"
  625. }
  626. }
  627. ],
  628. "_outs": [
  629. {
  630. "_slotId": {
  631. "m_id": "{420043F1-9FA7-4577-AD3E-A79643110A13}"
  632. },
  633. "_name": "Spawn Requested",
  634. "_interfaceSourceId": "{20000000-0000-0000-AB46-C51AFF7F0000}"
  635. }
  636. ],
  637. "_interfaceSourceId": "{02000000-0000-0000-206F-CF079A000000}"
  638. }
  639. ],
  640. "latents": [
  641. {
  642. "_slotId": {
  643. "m_id": "{533EE362-5F6A-4DE3-9D3A-8D4E8E051EE8}"
  644. },
  645. "_name": "On Spawn Completed",
  646. "_outputs": [
  647. {
  648. "_slotId": {
  649. "m_id": "{1B876B02-02D0-410C-9DF8-4CCA1C158686}"
  650. }
  651. },
  652. {
  653. "_slotId": {
  654. "m_id": "{59B6C6E5-86BA-43E3-BDAD-BE0530E0EDB7}"
  655. }
  656. }
  657. ],
  658. "_interfaceSourceId": "{02000000-0000-0000-206F-CF079A000000}"
  659. }
  660. ]
  661. }
  662. }
  663. }
  664. },
  665. {
  666. "Id": {
  667. "id": 10101454849704
  668. },
  669. "Name": "SC-Node(CreateSpawnTicketNodeableNode)",
  670. "Components": {
  671. "Component_[17332510198319233963]": {
  672. "$type": "CreateSpawnTicketNodeableNode",
  673. "Id": 17332510198319233963,
  674. "Slots": [
  675. {
  676. "id": {
  677. "m_id": "{D0D3A015-3769-40A1-A1A4-D5D3DBAC8872}"
  678. },
  679. "contracts": [
  680. {
  681. "$type": "SlotTypeContract"
  682. }
  683. ],
  684. "slotName": "Create Ticket",
  685. "DisplayGroup": {
  686. "Value": 3070342103
  687. },
  688. "Descriptor": {
  689. "ConnectionType": 1,
  690. "SlotType": 1
  691. }
  692. },
  693. {
  694. "id": {
  695. "m_id": "{DBB24E2E-6D1E-4519-ADC5-2D7498C67AFE}"
  696. },
  697. "contracts": [
  698. {
  699. "$type": "SlotTypeContract"
  700. }
  701. ],
  702. "slotName": "Prefab",
  703. "toolTip": "Prefab source asset to spawn",
  704. "DisplayGroup": {
  705. "Value": 3070342103
  706. },
  707. "Descriptor": {
  708. "ConnectionType": 1,
  709. "SlotType": 2
  710. },
  711. "DataType": 1,
  712. "IsReference": true,
  713. "VariableReference": {
  714. "m_id": "{EBDBF3C5-6E15-42D6-B5B4-3FE05782F644}"
  715. }
  716. },
  717. {
  718. "id": {
  719. "m_id": "{CFDFB858-F505-463D-857D-ED096B1532A7}"
  720. },
  721. "contracts": [
  722. {
  723. "$type": "SlotTypeContract"
  724. }
  725. ],
  726. "slotName": "Ticket Created",
  727. "DisplayGroup": {
  728. "Value": 3070342103
  729. },
  730. "Descriptor": {
  731. "ConnectionType": 2,
  732. "SlotType": 1
  733. }
  734. },
  735. {
  736. "id": {
  737. "m_id": "{2FC3DAE0-BA15-4E91-A4BD-A59FA39C9EBA}"
  738. },
  739. "contracts": [
  740. {
  741. "$type": "SlotTypeContract"
  742. }
  743. ],
  744. "slotName": "SpawnTicket",
  745. "DisplayDataType": {
  746. "m_type": 4,
  747. "m_azType": "{BA62FF9A-A01E-4FEB-84C6-200881DF2B2B}"
  748. },
  749. "DisplayGroup": {
  750. "Value": 3070342103
  751. },
  752. "Descriptor": {
  753. "ConnectionType": 2,
  754. "SlotType": 2
  755. },
  756. "DataType": 1,
  757. "IsReference": true,
  758. "VariableReference": {
  759. "m_id": "{FFE1B40F-7C24-47E8-B741-0A6B8E4CB678}"
  760. }
  761. }
  762. ],
  763. "Datums": [
  764. {
  765. "scriptCanvasType": {
  766. "m_type": 4,
  767. "m_azType": "{A96A5037-AD0D-43B6-9948-ED63438C4A52}"
  768. },
  769. "isNullPointer": false,
  770. "$type": "AzFramework::Scripts::SpawnableScriptAssetRef",
  771. "label": "Prefab"
  772. }
  773. ],
  774. "slotExecutionMap": {
  775. "ins": [
  776. {
  777. "_slotId": {
  778. "m_id": "{D0D3A015-3769-40A1-A1A4-D5D3DBAC8872}"
  779. },
  780. "_inputs": [
  781. {
  782. "_slotId": {
  783. "m_id": "{DBB24E2E-6D1E-4519-ADC5-2D7498C67AFE}"
  784. }
  785. }
  786. ],
  787. "_outs": [
  788. {
  789. "_slotId": {
  790. "m_id": "{CFDFB858-F505-463D-857D-ED096B1532A7}"
  791. },
  792. "_name": "Ticket Created",
  793. "_outputs": [
  794. {
  795. "_slotId": {
  796. "m_id": "{2FC3DAE0-BA15-4E91-A4BD-A59FA39C9EBA}"
  797. }
  798. }
  799. ],
  800. "_interfaceSourceId": "{605CB81C-FF7F-0000-1198-971CFF7F0000}"
  801. }
  802. ],
  803. "_interfaceSourceId": "{040F0000-0000-0000-0000-000000000000}"
  804. }
  805. ]
  806. }
  807. }
  808. }
  809. },
  810. {
  811. "Id": {
  812. "id": 10105749817000
  813. },
  814. "Name": "EBusEventHandler",
  815. "Components": {
  816. "Component_[793544058027486179]": {
  817. "$type": "EBusEventHandler",
  818. "Id": 793544058027486179,
  819. "Slots": [
  820. {
  821. "id": {
  822. "m_id": "{18F80180-DEE1-47CF-9817-8899D4A6C710}"
  823. },
  824. "contracts": [
  825. {
  826. "$type": "SlotTypeContract"
  827. }
  828. ],
  829. "slotName": "Connect",
  830. "toolTip": "Connect this event handler to the specified entity.",
  831. "Descriptor": {
  832. "ConnectionType": 1,
  833. "SlotType": 1
  834. }
  835. },
  836. {
  837. "id": {
  838. "m_id": "{E6A04FE9-2151-4B9D-AF6B-CE33580BBBCC}"
  839. },
  840. "contracts": [
  841. {
  842. "$type": "SlotTypeContract"
  843. }
  844. ],
  845. "slotName": "Disconnect",
  846. "toolTip": "Disconnect this event handler.",
  847. "Descriptor": {
  848. "ConnectionType": 1,
  849. "SlotType": 1
  850. }
  851. },
  852. {
  853. "id": {
  854. "m_id": "{8F912BBA-0B8D-42CD-85C1-09129FE207ED}"
  855. },
  856. "contracts": [
  857. {
  858. "$type": "SlotTypeContract"
  859. }
  860. ],
  861. "slotName": "OnConnected",
  862. "toolTip": "Signaled when a connection has taken place.",
  863. "Descriptor": {
  864. "ConnectionType": 2,
  865. "SlotType": 1
  866. }
  867. },
  868. {
  869. "id": {
  870. "m_id": "{2EDEF677-54F1-4225-A687-E5B34D940E0A}"
  871. },
  872. "contracts": [
  873. {
  874. "$type": "SlotTypeContract"
  875. }
  876. ],
  877. "slotName": "OnDisconnected",
  878. "toolTip": "Signaled when this event handler is disconnected.",
  879. "Descriptor": {
  880. "ConnectionType": 2,
  881. "SlotType": 1
  882. }
  883. },
  884. {
  885. "id": {
  886. "m_id": "{AEF499BE-CFE6-4D5D-80ED-95FBE3ABDABA}"
  887. },
  888. "contracts": [
  889. {
  890. "$type": "SlotTypeContract"
  891. }
  892. ],
  893. "slotName": "OnFailure",
  894. "toolTip": "Signaled when it is not possible to connect this handler.",
  895. "Descriptor": {
  896. "ConnectionType": 2,
  897. "SlotType": 1
  898. }
  899. },
  900. {
  901. "id": {
  902. "m_id": "{CB1A31C5-926F-4CAC-9BAD-B3FAF684F100}"
  903. },
  904. "contracts": [
  905. {
  906. "$type": "SlotTypeContract"
  907. }
  908. ],
  909. "slotName": "Source",
  910. "toolTip": "ID used to connect on a specific Event address (Type: EntityId)",
  911. "Descriptor": {
  912. "ConnectionType": 1,
  913. "SlotType": 2
  914. },
  915. "DataType": 1
  916. },
  917. {
  918. "id": {
  919. "m_id": "{D6C38A77-5C09-4205-840C-548CA0231813}"
  920. },
  921. "contracts": [
  922. {
  923. "$type": "SlotTypeContract"
  924. }
  925. ],
  926. "slotName": "EntityId",
  927. "DisplayDataType": {
  928. "m_type": 1
  929. },
  930. "Descriptor": {
  931. "ConnectionType": 2,
  932. "SlotType": 2
  933. },
  934. "DataType": 1
  935. },
  936. {
  937. "id": {
  938. "m_id": "{256464ED-0E0D-4F70-B301-D69C47965414}"
  939. },
  940. "contracts": [
  941. {
  942. "$type": "SlotTypeContract"
  943. }
  944. ],
  945. "slotName": "ExecutionSlot:OnEntityActivated",
  946. "Descriptor": {
  947. "ConnectionType": 2,
  948. "SlotType": 1
  949. },
  950. "IsLatent": true
  951. },
  952. {
  953. "id": {
  954. "m_id": "{10BEC9FA-AC18-4564-8456-BD4346A2C49D}"
  955. },
  956. "contracts": [
  957. {
  958. "$type": "SlotTypeContract"
  959. }
  960. ],
  961. "slotName": "EntityId",
  962. "DisplayDataType": {
  963. "m_type": 1
  964. },
  965. "Descriptor": {
  966. "ConnectionType": 2,
  967. "SlotType": 2
  968. },
  969. "DataType": 1
  970. },
  971. {
  972. "id": {
  973. "m_id": "{9A73BBE8-DBA9-43D9-8B05-131128782DD4}"
  974. },
  975. "contracts": [
  976. {
  977. "$type": "SlotTypeContract"
  978. }
  979. ],
  980. "slotName": "ExecutionSlot:OnEntityDeactivated",
  981. "Descriptor": {
  982. "ConnectionType": 2,
  983. "SlotType": 1
  984. },
  985. "IsLatent": true
  986. }
  987. ],
  988. "Datums": [
  989. {
  990. "scriptCanvasType": {
  991. "m_type": 1
  992. },
  993. "isNullPointer": false,
  994. "$type": "EntityId",
  995. "value": {
  996. "id": 2901262558
  997. },
  998. "label": "Source"
  999. }
  1000. ],
  1001. "m_eventMap": [
  1002. {
  1003. "Key": {
  1004. "Value": 245425936
  1005. },
  1006. "Value": {
  1007. "m_eventName": "OnEntityActivated",
  1008. "m_eventId": {
  1009. "Value": 245425936
  1010. },
  1011. "m_eventSlotId": {
  1012. "m_id": "{256464ED-0E0D-4F70-B301-D69C47965414}"
  1013. },
  1014. "m_parameterSlotIds": [
  1015. {
  1016. "m_id": "{D6C38A77-5C09-4205-840C-548CA0231813}"
  1017. }
  1018. ],
  1019. "m_numExpectedArguments": 1
  1020. }
  1021. },
  1022. {
  1023. "Key": {
  1024. "Value": 4273369222
  1025. },
  1026. "Value": {
  1027. "m_eventName": "OnEntityDeactivated",
  1028. "m_eventId": {
  1029. "Value": 4273369222
  1030. },
  1031. "m_eventSlotId": {
  1032. "m_id": "{9A73BBE8-DBA9-43D9-8B05-131128782DD4}"
  1033. },
  1034. "m_parameterSlotIds": [
  1035. {
  1036. "m_id": "{10BEC9FA-AC18-4564-8456-BD4346A2C49D}"
  1037. }
  1038. ],
  1039. "m_numExpectedArguments": 1
  1040. }
  1041. }
  1042. ],
  1043. "m_ebusName": "EntityBus",
  1044. "m_busId": {
  1045. "Value": 3358774020
  1046. }
  1047. }
  1048. }
  1049. }
  1050. ],
  1051. "m_connections": [
  1052. {
  1053. "Id": {
  1054. "id": 10110044784296
  1055. },
  1056. "Name": "srcEndpoint=(EntityBus Handler: ExecutionSlot:OnEntityActivated), destEndpoint=(CreateSpawnTicket: Create Ticket)",
  1057. "Components": {
  1058. "Component_[388762965808641528]": {
  1059. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  1060. "Id": 388762965808641528,
  1061. "sourceEndpoint": {
  1062. "nodeId": {
  1063. "id": 10105749817000
  1064. },
  1065. "slotId": {
  1066. "m_id": "{256464ED-0E0D-4F70-B301-D69C47965414}"
  1067. }
  1068. },
  1069. "targetEndpoint": {
  1070. "nodeId": {
  1071. "id": 10101454849704
  1072. },
  1073. "slotId": {
  1074. "m_id": "{D0D3A015-3769-40A1-A1A4-D5D3DBAC8872}"
  1075. }
  1076. }
  1077. }
  1078. }
  1079. },
  1080. {
  1081. "Id": {
  1082. "id": 10114339751592
  1083. },
  1084. "Name": "srcEndpoint=(CreateSpawnTicket: Ticket Created), destEndpoint=(Spawn: Request Spawn)",
  1085. "Components": {
  1086. "Component_[7403476550205810510]": {
  1087. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  1088. "Id": 7403476550205810510,
  1089. "sourceEndpoint": {
  1090. "nodeId": {
  1091. "id": 10101454849704
  1092. },
  1093. "slotId": {
  1094. "m_id": "{CFDFB858-F505-463D-857D-ED096B1532A7}"
  1095. }
  1096. },
  1097. "targetEndpoint": {
  1098. "nodeId": {
  1099. "id": 10097159882408
  1100. },
  1101. "slotId": {
  1102. "m_id": "{A6828D2F-0D3C-49A7-81B0-3D2BBBF644EE}"
  1103. }
  1104. }
  1105. }
  1106. }
  1107. },
  1108. {
  1109. "Id": {
  1110. "id": 29012195853992
  1111. },
  1112. "Name": "srcEndpoint=(For Each: Each), destEndpoint=(Print: In)",
  1113. "Components": {
  1114. "Component_[8893902549246567736]": {
  1115. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  1116. "Id": 8893902549246567736,
  1117. "sourceEndpoint": {
  1118. "nodeId": {
  1119. "id": 27642101286568
  1120. },
  1121. "slotId": {
  1122. "m_id": "{1B9F8757-86B9-4459-85E9-1A935AC72655}"
  1123. }
  1124. },
  1125. "targetEndpoint": {
  1126. "nodeId": {
  1127. "id": 27646396253864
  1128. },
  1129. "slotId": {
  1130. "m_id": "{88DA8FC0-5EDB-4908-8B00-CE6AEFDD8C54}"
  1131. }
  1132. }
  1133. }
  1134. }
  1135. },
  1136. {
  1137. "Id": {
  1138. "id": 29085210298024
  1139. },
  1140. "Name": "srcEndpoint=(For Each: EntityId), destEndpoint=(Print: Value)",
  1141. "Components": {
  1142. "Component_[8031023047740098555]": {
  1143. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  1144. "Id": 8031023047740098555,
  1145. "sourceEndpoint": {
  1146. "nodeId": {
  1147. "id": 27642101286568
  1148. },
  1149. "slotId": {
  1150. "m_id": "{11069609-0EDB-4414-88D0-B159670A587E}"
  1151. }
  1152. },
  1153. "targetEndpoint": {
  1154. "nodeId": {
  1155. "id": 27646396253864
  1156. },
  1157. "slotId": {
  1158. "m_id": "{A0CEBF36-3D5D-48FA-ADF1-0074F3A51094}"
  1159. }
  1160. }
  1161. }
  1162. }
  1163. },
  1164. {
  1165. "Id": {
  1166. "id": 30193311860392
  1167. },
  1168. "Name": "srcEndpoint=(Spawn: On Spawn Completed), destEndpoint=(For Each: In)",
  1169. "Components": {
  1170. "Component_[9079461645862759245]": {
  1171. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  1172. "Id": 9079461645862759245,
  1173. "sourceEndpoint": {
  1174. "nodeId": {
  1175. "id": 10097159882408
  1176. },
  1177. "slotId": {
  1178. "m_id": "{533EE362-5F6A-4DE3-9D3A-8D4E8E051EE8}"
  1179. }
  1180. },
  1181. "targetEndpoint": {
  1182. "nodeId": {
  1183. "id": 27642101286568
  1184. },
  1185. "slotId": {
  1186. "m_id": "{F539A649-4B9A-4AC9-B199-F323E46D9D92}"
  1187. }
  1188. }
  1189. }
  1190. }
  1191. },
  1192. {
  1193. "Id": {
  1194. "id": 30635693491880
  1195. },
  1196. "Name": "srcEndpoint=(Spawn: SpawnedEntitiesList), destEndpoint=(For Each: Source)",
  1197. "Components": {
  1198. "Component_[14595209246833034875]": {
  1199. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  1200. "Id": 14595209246833034875,
  1201. "sourceEndpoint": {
  1202. "nodeId": {
  1203. "id": 10097159882408
  1204. },
  1205. "slotId": {
  1206. "m_id": "{59B6C6E5-86BA-43E3-BDAD-BE0530E0EDB7}"
  1207. }
  1208. },
  1209. "targetEndpoint": {
  1210. "nodeId": {
  1211. "id": 27642101286568
  1212. },
  1213. "slotId": {
  1214. "m_id": "{0C6793EC-A9C2-4D03-AFFB-E116B64F90A2}"
  1215. }
  1216. }
  1217. }
  1218. }
  1219. }
  1220. ]
  1221. },
  1222. "m_assetType": "{200D5897-7702-0000-E8EC-EDE077020000}",
  1223. "versionData": {
  1224. "_grammarVersion": 1,
  1225. "_runtimeVersion": 1,
  1226. "_fileVersion": 1
  1227. },
  1228. "m_variableCounter": 2,
  1229. "GraphCanvasData": [
  1230. {
  1231. "Key": {
  1232. "id": 10092864915112
  1233. },
  1234. "Value": {
  1235. "ComponentData": {
  1236. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  1237. "$type": "SceneComponentSaveData",
  1238. "ViewParams": {
  1239. "Scale": 0.6043577031249998,
  1240. "AnchorX": 49.63947677612305,
  1241. "AnchorY": -67.84061431884766
  1242. }
  1243. }
  1244. }
  1245. }
  1246. },
  1247. {
  1248. "Key": {
  1249. "id": 10097159882408
  1250. },
  1251. "Value": {
  1252. "ComponentData": {
  1253. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  1254. "$type": "NodeSaveData"
  1255. },
  1256. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  1257. "$type": "GeneralNodeTitleComponentSaveData",
  1258. "PaletteOverride": "DefaultNodeTitlePalette"
  1259. },
  1260. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  1261. "$type": "GeometrySaveData",
  1262. "Position": [
  1263. 1080.0,
  1264. 220.0
  1265. ]
  1266. },
  1267. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  1268. "$type": "StylingComponentSaveData"
  1269. },
  1270. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  1271. "$type": "PersistentIdComponentSaveData",
  1272. "PersistentId": "{214E21AA-D50B-4823-B581-404078D02CBF}"
  1273. }
  1274. }
  1275. }
  1276. },
  1277. {
  1278. "Key": {
  1279. "id": 10101454849704
  1280. },
  1281. "Value": {
  1282. "ComponentData": {
  1283. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  1284. "$type": "NodeSaveData"
  1285. },
  1286. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  1287. "$type": "GeneralNodeTitleComponentSaveData",
  1288. "PaletteOverride": "DefaultNodeTitlePalette"
  1289. },
  1290. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  1291. "$type": "GeometrySaveData",
  1292. "Position": [
  1293. 500.0,
  1294. 220.0
  1295. ]
  1296. },
  1297. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  1298. "$type": "StylingComponentSaveData"
  1299. },
  1300. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  1301. "$type": "PersistentIdComponentSaveData",
  1302. "PersistentId": "{E1A7FC5A-D48E-4F9C-BB38-04A3D432657E}"
  1303. }
  1304. }
  1305. }
  1306. },
  1307. {
  1308. "Key": {
  1309. "id": 10105749817000
  1310. },
  1311. "Value": {
  1312. "ComponentData": {
  1313. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  1314. "$type": "NodeSaveData"
  1315. },
  1316. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  1317. "$type": "GeometrySaveData",
  1318. "Position": [
  1319. 180.0,
  1320. 220.0
  1321. ]
  1322. },
  1323. "{9E81C95F-89C0-4476-8E82-63CCC4E52E04}": {
  1324. "$type": "EBusHandlerNodeDescriptorSaveData",
  1325. "EventIds": [
  1326. {
  1327. "Value": 245425936
  1328. }
  1329. ]
  1330. },
  1331. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  1332. "$type": "StylingComponentSaveData"
  1333. },
  1334. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  1335. "$type": "PersistentIdComponentSaveData",
  1336. "PersistentId": "{B2A97DB0-829A-49D0-94A7-F412EE62195D}"
  1337. }
  1338. }
  1339. }
  1340. },
  1341. {
  1342. "Key": {
  1343. "id": 27642101286568
  1344. },
  1345. "Value": {
  1346. "ComponentData": {
  1347. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  1348. "$type": "NodeSaveData"
  1349. },
  1350. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  1351. "$type": "GeneralNodeTitleComponentSaveData",
  1352. "PaletteOverride": "DefaultNodeTitlePalette"
  1353. },
  1354. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  1355. "$type": "GeometrySaveData",
  1356. "Position": [
  1357. 1740.0,
  1358. 480.0
  1359. ]
  1360. },
  1361. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  1362. "$type": "StylingComponentSaveData"
  1363. },
  1364. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  1365. "$type": "PersistentIdComponentSaveData",
  1366. "PersistentId": "{72909997-0BAC-4204-B4DB-7089340E98B1}"
  1367. }
  1368. }
  1369. }
  1370. },
  1371. {
  1372. "Key": {
  1373. "id": 27646396253864
  1374. },
  1375. "Value": {
  1376. "ComponentData": {
  1377. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  1378. "$type": "NodeSaveData"
  1379. },
  1380. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  1381. "$type": "GeneralNodeTitleComponentSaveData",
  1382. "PaletteOverride": "StringNodeTitlePalette"
  1383. },
  1384. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  1385. "$type": "GeometrySaveData",
  1386. "Position": [
  1387. 2040.0,
  1388. 460.0
  1389. ]
  1390. },
  1391. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  1392. "$type": "StylingComponentSaveData"
  1393. },
  1394. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  1395. "$type": "PersistentIdComponentSaveData",
  1396. "PersistentId": "{2B880C60-513C-45B3-8AEE-14B0C83DCE2C}"
  1397. }
  1398. }
  1399. }
  1400. }
  1401. ],
  1402. "StatisticsHelper": {
  1403. "InstanceCounter": [
  1404. {
  1405. "Key": 2970552779286763396,
  1406. "Value": 1
  1407. },
  1408. {
  1409. "Key": 5842116761103598202,
  1410. "Value": 1
  1411. },
  1412. {
  1413. "Key": 10181512461692697578,
  1414. "Value": 1
  1415. },
  1416. {
  1417. "Key": 10684225535275896474,
  1418. "Value": 1
  1419. },
  1420. {
  1421. "Key": 13474049605028069597,
  1422. "Value": 1
  1423. }
  1424. ]
  1425. }
  1426. }
  1427. }
  1428. }
  1429. }
  1430. }