Consistency/data/entities/animals/boss_limbs/boss_limbs_spawn.lua

9 lines
371 B
Lua
Raw Normal View History

2021-08-20 01:53:47 +00:00
dofile( "data/scripts/lib/utilities.lua" )
function collision_trigger()
local entity_id = GetUpdatedEntityID()
local pos_x, pos_y = EntityGetTransform( entity_id )
EntityLoad( "data/entities/animals/boss_limbs/boss_limbs.xml", pos_x, pos_y )
EntityLoad( "data/entities/particles/image_emitters/magical_symbol_fast.xml", pos_x, pos_y )
EntityKill( entity_id )
end