forums | blogs | polls | tutorials | downloads | rules | help

Add new comment

actually dungeon siege has spell_summon_multiple which can be used as well..

[t:template,n:spell_wolf_pack_summon_lili]
{
	category_name = "magic";
	doc = "spell_summon_wolf_pack_lili";
	specializes = base_summon_good;
	[aspect]
	{
		gold_value = 66;
	}
	[inventory]
	{
		[delayed_pcontent]
		{
			[oneof*]
			{
				[all*]
				{
					chance = 0.33;
					il_main = cm_summon_wolf_black_lili;
				}
				[all*]
				{
					chance = 0.33;
					il_main = cm_summon_wolf_white_lili;
				}
				[all*]
				{
					chance = 0.33;
					il_main = cm_summon_wolf_gray_lili;
				}
			}
		}
	}
	[common]
	{
		description = "Summons a Wolf Pack to guard the Caster.";
		screen_name = "Summon Wolf Pack";
		[template_triggers]
		{
			[*]
			{
				action* = call_sfx_script( "nature_spell_sparkle" );
				condition* = receive_world_message("we_dropped");
			}
		}
	}
	[gui]
	{
		active_icon = b_gui_ig_i_ic_sp_046;
		inventory_icon = b_gui_ig_i_ic_sp_046_inv;
	}
	[magic]
	{
		cast_range = 10;
		cast_reload_delay = 0;
		effect_duration = 20;
		requires_line_of_sight = true;
		require_state_check = true;
		speed_bias = 1;
		target_type_flags = tt_conscious_enemy | tt_unconscious_enemy;
		usage_context_flags = uc_offensive;
		cast_sub_animation = 4;
		state_name = "Controlling";
		caster_state_name = "Controlling";
	}
	[spell_summon_multiple]
	{
		flee = false;
		watch_summoned  = true;
		spawn_num		= 6;
		effect_script	= "fire_summon";
		script_params = "[scale(2.00)]";
		spawn_radius	= 10.0;
		spawn_rate		= .75;
		description = "Summoned Creature";
		caster_description = "Controlling Summoned";
	}
}

this code would make a wolf pack of 6 may not work but the code is there