9 lines
371 B
Lua
9 lines
371 B
Lua
|
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
|