Change unit alignemnt
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.
- Szturmowiec
- Posts: 44
- Joined: June 5th, 2017, 6:06 pm
Change unit alignemnt
Hello everyone,
I've got a problem with unit's alignment. I want to change the unit alignment to chaotic after it is recruited, but can't achieve that. Please help
I've got a problem with unit's alignment. I want to change the unit alignment to chaotic after it is recruited, but can't achieve that. Please help
That was the hell of a firefight. And the ammunition depleted so fast... I'm pinned down by those damned machine guns and don't know what to do next.
Re: Change unit alignemnt
Unit has key alignment, you can overwrite it.
Re: Change unit alignemnt
Developer of Project Haldric
Add-ons: Millennium Era, Vision of a Shaman, A New Home
Art: Bitron's Art Thread
Tools: WML Syntax Highlighter for VS Code
Add-ons: Millennium Era, Vision of a Shaman, A New Home
Art: Bitron's Art Thread
Tools: WML Syntax Highlighter for VS Code
- Szturmowiec
- Posts: 44
- Joined: June 5th, 2017, 6:06 pm
Re: Change unit alignemnt
Ok, thanks, but I've already changed my plans, so I don't need to use it right now.
That was the hell of a firefight. And the ammunition depleted so fast... I'm pinned down by those damned machine guns and don't know what to do next.
- James_The_Invisible
- Posts: 536
- Joined: October 28th, 2012, 1:58 pm
- Location: Somewhere in the Northlands, fighting dark forces
- Contact:
Re: Change unit alignemnt
Just for the record, since 1.13.2, you can change it also via [object][effect].
My content: For Power series
Ports: Danse Macabre Story of the Wose
Guides: How to translate your UMC
Ports: Danse Macabre Story of the Wose
Guides: How to translate your UMC
- Szturmowiec
- Posts: 44
- Joined: June 5th, 2017, 6:06 pm
Re: Change unit alignemnt
That's what I tried, and since it is available from 1.13 it explains why it didn't work for me...
That was the hell of a firefight. And the ammunition depleted so fast... I'm pinned down by those damned machine guns and don't know what to do next.
- LordAndrew
- Posts: 23
- Joined: April 1st, 2018, 3:09 am
- Location: Russia
Re: Change unit alignemnt
all the work for you did
Code: Select all
[modify_unit]
[filter]
x,y=$x1,$y1
[/filter]
alignment=$your_alignment
[/modify_unit]