/run insert_summon_by_summon_id(summon_code)
but a staged pet will still come broken and need repair unless you write a special little lua script for the function...
I did not create this script...
Code:
function insert_staged_pet(summon_code,enhance,card_id)
if enhance > 0 and enhance < 6 then
insert_summon_by_summon_id(summon_code)
local petcard_array = get_item_handle_list(card_id)
local new_pet = table.getn(petcard_array)
set_item_enhance(petcard_array[new_pet],enhance)
else
message("Error. Use an enhance-value between 1 and 5!")
end
end
Add this to your etc script functions lua
Then use the command
/run insert_staged_pet(summon_code,enhance,card_id)