Lua_SimpleSpawnDespawn_Spawner.prefab 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. {
  2. "ContainerEntity": {
  3. "Id": "ContainerEntity",
  4. "Name": "Lua_SimpleSpawnDespawn_Spawner",
  5. "Components": {
  6. "Component_[101971684203442204]": {
  7. "$type": "EditorPrefabComponent",
  8. "Id": 101971684203442204
  9. },
  10. "Component_[12922745642915712283]": {
  11. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  12. "Id": 12922745642915712283,
  13. "Parent Entity": ""
  14. },
  15. "Component_[16345326769928943995]": {
  16. "$type": "EditorVisibilityComponent",
  17. "Id": 16345326769928943995
  18. },
  19. "Component_[2344485830221936119]": {
  20. "$type": "EditorDisabledCompositionComponent",
  21. "Id": 2344485830221936119
  22. },
  23. "Component_[3344368702486873329]": {
  24. "$type": "EditorOnlyEntityComponent",
  25. "Id": 3344368702486873329
  26. },
  27. "Component_[3913128949837984902]": {
  28. "$type": "EditorInspectorComponent",
  29. "Id": 3913128949837984902
  30. },
  31. "Component_[4583493846914649652]": {
  32. "$type": "EditorEntityIconComponent",
  33. "Id": 4583493846914649652
  34. },
  35. "Component_[4641319214343782992]": {
  36. "$type": "EditorLockComponent",
  37. "Id": 4641319214343782992
  38. },
  39. "Component_[5549265071976933213]": {
  40. "$type": "SelectionComponent",
  41. "Id": 5549265071976933213
  42. },
  43. "Component_[5847678098277715364]": {
  44. "$type": "EditorEntitySortComponent",
  45. "Id": 5847678098277715364,
  46. "Child Entity Order": [
  47. "Entity_[752354852204]"
  48. ]
  49. },
  50. "Component_[7908847283243541161]": {
  51. "$type": "EditorPendingCompositionComponent",
  52. "Id": 7908847283243541161
  53. }
  54. }
  55. },
  56. "Entities": {
  57. "Entity_[752354852204]": {
  58. "Id": "Entity_[752354852204]",
  59. "Name": "Lua_Spawner",
  60. "Components": {
  61. "Component_[11655185132563720260]": {
  62. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  63. "Id": 11655185132563720260,
  64. "Parent Entity": "ContainerEntity"
  65. },
  66. "Component_[12865446394759429620]": {
  67. "$type": "EditorEntityIconComponent",
  68. "Id": 12865446394759429620
  69. },
  70. "Component_[13603919805521551167]": {
  71. "$type": "EditorVisibilityComponent",
  72. "Id": 13603919805521551167
  73. },
  74. "Component_[14414720628042235592]": {
  75. "$type": "EditorInspectorComponent",
  76. "Id": 14414720628042235592,
  77. "ComponentOrderEntryArray": [
  78. {
  79. "ComponentId": 11655185132563720260
  80. },
  81. {
  82. "ComponentId": 9054818613117161112,
  83. "SortIndex": 1
  84. }
  85. ]
  86. },
  87. "Component_[15920935307012658771]": {
  88. "$type": "EditorEntitySortComponent",
  89. "Id": 15920935307012658771
  90. },
  91. "Component_[17048991802945352690]": {
  92. "$type": "SelectionComponent",
  93. "Id": 17048991802945352690
  94. },
  95. "Component_[17154783317073087819]": {
  96. "$type": "EditorLockComponent",
  97. "Id": 17154783317073087819
  98. },
  99. "Component_[17887168153356299366]": {
  100. "$type": "EditorDisabledCompositionComponent",
  101. "Id": 17887168153356299366
  102. },
  103. "Component_[2823403831583401591]": {
  104. "$type": "EditorOnlyEntityComponent",
  105. "Id": 2823403831583401591
  106. },
  107. "Component_[9054818613117161112]": {
  108. "$type": "ScriptEditorComponent",
  109. "Id": 9054818613117161112,
  110. "ScriptComponent": {
  111. "Properties": {
  112. "Properties": [
  113. {
  114. "$type": "AzFramework::ScriptPropertyNumber",
  115. "id": 2316173759,
  116. "name": "DespawnTime",
  117. "value": 3.0
  118. },
  119. {
  120. "$type": "AzFramework::ScriptPropertyGenericClass",
  121. "id": 2785736188,
  122. "name": "Prefab",
  123. "value": {
  124. "$type": "AzFramework::Scripts::SpawnableScriptAssetRef",
  125. "value": {
  126. "asset": {
  127. "assetId": {
  128. "guid": "{80C0CF4E-9A5E-544B-B89E-BC980175A259}",
  129. "subId": 3875079122
  130. },
  131. "loadBehavior": "QueueLoad",
  132. "assetHint": "assets/prefabs/pinkflower.spawnable"
  133. }
  134. }
  135. }
  136. }
  137. ]
  138. },
  139. "Script": {
  140. "assetId": {
  141. "guid": "{41C503C2-5971-5FEC-BEC1-3BC3236264ED}",
  142. "subId": 1
  143. },
  144. "assetHint": "luascripts/spawnables/simplespawndespawn.luac"
  145. }
  146. },
  147. "ScriptAsset": {
  148. "assetId": {
  149. "guid": "{41C503C2-5971-5FEC-BEC1-3BC3236264ED}",
  150. "subId": 1
  151. },
  152. "assetHint": "luascripts/spawnables/simplespawndespawn.luac"
  153. }
  154. },
  155. "Component_[9369202450081046490]": {
  156. "$type": "EditorPendingCompositionComponent",
  157. "Id": 9369202450081046490
  158. }
  159. }
  160. }
  161. }
  162. }