Skip to content

MountEffect ​

Inherits: Effect < DatabaseResource < Resource

Puts the target on a mount for as long as the effect lasts: the model of a creature (an NPC of the Database, set in the mount) is added under it, it sits on the seat of the model and moves faster, or swims, or flies, or sails. The mount is only a model and a speed: it has no health and nobody steers it. This is the mount of a game that wants "mounts" as a buff with a look (a horse that appears under the rider and goes when the rider is told to). Give it a Persistent or a Temporary time strategy; it ends when the effect is removed or runs out.

Description ​

For a mount that is a creature or a vehicle of the world, use the Mount interaction. Both use a Mount of the Database (Entities > Mounts).

Properties ​

intmount_id0

Methods ​

voidspecific_effect_logic( effect_instance: EffectInstance )
voidon_apply_finished( effect_instance: EffectInstance )
Stringget_effect_description()
Stringget_editor_description()

Property descriptions ​

int mount_id = 0 ​

The mount (Entities > Mounts): its model creature, how it moves, its speed and the seat of the rider

Method descriptions ​

void specific_effect_logic( effect_instance: EffectInstance ) ​

Puts the target on the mount

void on_apply_finished( effect_instance: EffectInstance ) ​

When the effect ends, the rider gets off

String get_effect_description() ​

The text of the effect for tooltips, with its values filled in.

String get_editor_description() ​

A short text for the effect editor that says what the effect does.