Consistency/data/entities/animals/boss_ghost/helpers.lua

9 lines
275 B
Lua
Raw Normal View History

2021-08-20 01:53:47 +00:00
dofile_once( "data/scripts/lib/utilities.lua" )
local entity_id = GetUpdatedEntityID()
local x,y = EntityGetTransform( entity_id )
local help = EntityGetWithTag( "boss_ghost_helper" )
if ( #help < 2 ) then
EntityLoad( "data/entities/animals/ethereal_being.xml", x, y )
end