modify the unit recruitment cost
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.
- hermestrismi
- Posts: 626
- Joined: February 6th, 2016, 11:28 pm
- Location: Tunisia
- Contact:
modify the unit recruitment cost
Hi,
Is there a way to modify a unit cost of recruitment in one scenario and not all the campaign (other than modify_unit_type which change it for the whole campaign)?
I checked the wiki about effects but I didn't find it
Is there a way to modify a unit cost of recruitment in one scenario and not all the campaign (other than modify_unit_type which change it for the whole campaign)?
I checked the wiki about effects but I didn't find it
The Dark Master, The Dark Hordes (Unofficial version), Return of the Legion , Eternal Kingdom, An Elvish Scout,Unrest in Elfland , Hidden War ...
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
- Lord-Knightmare
- Discord Moderator
- Posts: 2365
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: modify the unit recruitment cost
You can use [modify_unit_type] for just that scenario onlyhermestrismi wrote: ↑April 4th, 2023, 9:53 am Hi,
Is there a way to modify a unit cost of recruitment in one scenario and not all the campaign (other than modify_unit_type which change it for the whole campaign)?
I checked the wiki about effects but I didn't find it
Code: Select all
[scenario]
[modify_unit_type]
[/modify_unit_type]
[/scenario]
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
- hermestrismi
- Posts: 626
- Joined: February 6th, 2016, 11:28 pm
- Location: Tunisia
- Contact:
Re: modify the unit recruitment cost
Is it working in a nested event?Lord-Knightmare wrote: ↑April 4th, 2023, 11:34 amYou can use [modify_unit_type] for just that scenario onlyhermestrismi wrote: ↑April 4th, 2023, 9:53 am Hi,
Is there a way to modify a unit cost of recruitment in one scenario and not all the campaign (other than modify_unit_type which change it for the whole campaign)?
I checked the wiki about effects but I didn't find it
Code: Select all
[scenario] [modify_unit_type] [/modify_unit_type] [/scenario]
The Dark Master, The Dark Hordes (Unofficial version), Return of the Legion , Eternal Kingdom, An Elvish Scout,Unrest in Elfland , Hidden War ...
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
- Lord-Knightmare
- Discord Moderator
- Posts: 2365
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: modify the unit recruitment cost
Huh? No events.
I mean if you add it in a scenario, it only will only apply to that scenario.
If you add in a campaign, it will be applied to every scenario of the campaign.
Nothing complex about it.
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
- hermestrismi
- Posts: 626
- Joined: February 6th, 2016, 11:28 pm
- Location: Tunisia
- Contact:
Re: modify the unit recruitment cost
Yes, I understand and it worked thanks to you.Lord-Knightmare wrote: ↑April 4th, 2023, 12:12 pmHuh? No events.
I mean if you add it in a scenario, it only will only apply to that scenario.
If you add in a campaign, it will be applied to every scenario of the campaign.
Nothing complex about it.
I am just asking if I also can add this modification to an event inside the scenario and I understand that it is not possible
The Dark Master, The Dark Hordes (Unofficial version), Return of the Legion , Eternal Kingdom, An Elvish Scout,Unrest in Elfland , Hidden War ...
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
- Lord-Knightmare
- Discord Moderator
- Posts: 2365
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: modify the unit recruitment cost
Not really. You'd have to do it the messy way UtBS does it in that case. Not really recommending that.I am just asking if I also can add this modification to an event inside the scenario and I understand that it is not possible
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
- hermestrismi
- Posts: 626
- Joined: February 6th, 2016, 11:28 pm
- Location: Tunisia
- Contact:
Re: modify the unit recruitment cost
Thank you very muchLord-Knightmare wrote: ↑April 4th, 2023, 12:40 pmNot really. You'd have to do it the messy way UtBS does it in that case. Not really recommending that.I am just asking if I also can add this modification to an event inside the scenario and I understand that it is not possible
The Dark Master, The Dark Hordes (Unofficial version), Return of the Legion , Eternal Kingdom, An Elvish Scout,Unrest in Elfland , Hidden War ...
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin
The Dark Master Project, Arabic tra. maintainer
"But he loves you" G. Carlin