How to use extra animations in an event

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
User avatar
pipapopinguin
Posts: 35
Joined: November 3rd, 2019, 10:36 am

How to use extra animations in an event

Post by pipapopinguin »

I made an extra animation for my unit:

Code: Select all

	[extra_anim]
        flag=offering
		[frame]
		    image="units/saurians/Ritualist-performing-[1~5].png"
		[/frame]
	[/extra_anim]
and then i tried to trigger it where usually the action-tags are in an event with

Code: Select all

	[animation]
        flag=offering
	[/animation]
The wiki doesnt say much about that in the animation wml so I am asking in the forum now
Author of Corpse Mod 2, Breeze-Mod,Reflections and don't click here.
User avatar
pipapopinguin
Posts: 35
Joined: November 3rd, 2019, 10:36 am

Re: How to use extra animations in an event

Post by pipapopinguin »

Oh yes, it does by the way say: "[animation] is not supported" after the event triggers
Author of Corpse Mod 2, Breeze-Mod,Reflections and don't click here.
User avatar
WhiteWolf
Forum Moderator
Posts: 769
Joined: September 22nd, 2009, 7:48 pm
Location: Hungary

Re: How to use extra animations in an event

Post by WhiteWolf »

[animation] is not action WML, you're probably looking for [animate_unit].
Main UMC campaigns: The Ravagers - now for 1.16, with new bugs!
Old UMC works: The Underness Series, consisting of 5 parts: The Desolation of Karlag, The Blind Sentinel, The Stone of the North, The Invasion Of The Western Cavalry, Fingerbone of Destiny
User avatar
pipapopinguin
Posts: 35
Joined: November 3rd, 2019, 10:36 am

Re: How to use extra animations in an event

Post by pipapopinguin »

WhiteWolf wrote: May 28th, 2021, 5:15 pm [animation] is not action WML, you're probably looking for [animate_unit].
Thanks a lot, I didn't know that had to look into the InterfaceActions wml to find what I needed
Author of Corpse Mod 2, Breeze-Mod,Reflections and don't click here.
Post Reply