Creating a Custom Recall list for a scenario

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
casterhald
Posts: 8
Joined: January 10th, 2010, 6:45 am

Creating a Custom Recall list for a scenario

Post by casterhald »

I believe this is possible. I want to create some named units and have them appear in my son's and I scenario (not a campaign), for us to bring in via Recall.
For Example:

Code: Select all

[unit]
	Side=2
	id=Smaug
	Type=AE_ext_monsters_Fire_Dragon
	Name="Smaug"
	Recall=Yes
[/unit]
I think recall needs to be done in event, here is my current [Event], I just don't know where to put it and what I am missing.

Code: Select all

[event]
        	name=start

		[unit]
			side=1
			type=White Mage
			id=Dad
			name="Dad"
			{IS_LOYAL}
     			[modifications]
				{TRAIT_LOYAL}
				{TRAIT_QUICK}
	      		[/modifications]
			unrenamable=yes
			max_hitpoints=45
			x,y=10,12
		[/unit]
		[modify_unit]
			[filter]
				id=Dad
			[/filter]
			canrecruit=yes
			extra_recruit=AE_myh_Warrior_Wolf,AE_mag_Novice_Summoner,AE_mag_Dimensional_Gate
		[/modify_unit]

		[unit]
			side=2
			type=White Mage
			id=Aidyn
			name="Aidyn"
			{IS_LOYAL}
     			[modifications]
				{TRAIT_LOYAL}
				{TRAIT_QUICK}
	      		[/modifications]
			unrenamable=yes
			max_hitpoints=45
			x,y=10,45
		[/unit]
		[modify_unit]
			[filter]
				id=Aidyn
			[/filter]
			canrecruit=yes
			extra_recruit=AE_myh_Scribe,AE_myh_Overgrown_Devling,AE_chs_aragwaith_Spearman
		[/modify_unit]
[/event]
I've tried quite a few things, but haven't figured it out. Thanks for any advice.
vghetto
Posts: 755
Joined: November 2nd, 2019, 5:12 pm

Re: Creating a Custom Recall list for a scenario

Post by vghetto »

set the x,y of the units you want to recall to x,y=recall,recall
Post Reply