local code, objid = World:spawnProjectile(shooter, itemid, x, y, z, dstx, dsty, dstz, speed) if code == ErrorCode.OK then print('Execution success', code, objid ) else print('Execution failed') end