Hi,
I used of this code :
function simplestatetest:OnActivate()
-- s.tBH=TBH(s,0)
self.tickBusHandler=TickBusHandler(self,0)
self.enemyFinder = TagGlobalRequestBusSender(Crc32("Enemy"))
local enemies = self.enemyFinder:RequestTaggedEntities()
local burning = TagComponentRequestBusSender(self.entityId):HasTag(Crc32("Burning"))
Debug.Log("Start.......")
Debug.Log(tostring(burning))
end
now , i want remove an Entity or many Entities with Tag “Enemy”
I searched Lua Editor and API Lua
where is Destroy Entity function in the Lua??
I think a lot C++ Properties and Functions , still Do not Add to Lua Editor(Classes References)
With the utmost respect and courtesy