Skip to content
Adriano edited this page Dec 22, 2015 · 3 revisions

The XML element contains the next animation data.

This element is used in the sequence-element, border-element and gravity-element to describe the next animation sequence.

Example:

<next 
    probability="10" 
    only="window">
    7
</next>

next element

Is the child of the sequence or border or gravity element.

probability attribute required

Type: Number

Probability to set this animation as next animation. Value represent a % of the total of probability. The total is the sum of all next-elements probabilities that can be take for the next animation

only attribute optional

Type: Option

Normally, animations will be set anywhere. But you can force to set this animation only on specific positions. So, it is never played if another border/sequence is detected. Pay attention, if you forget a border, your pet can walk outside the screen and you NEVER see it again ;)

Here the possible options to set:

Option Description
taskbar next animation is set only if pet is on the taskbar
window next animation is set only if pet is on the window
horizontal next animation is set only if pet reached the horizontal (top, bottom) screen borders
horizontal+ next animation is set only if pet reached the horizontal (top, bottom) screen borders or top window
vertical next animation is set only if pet reached the vertical (left, right) screen borders

<#text> element required

Max occurs: 1

Type: Number

Next animation ID

Clone this wiki locally