Skip to content

Followers

fenix31415 edited this page Oct 20, 2023 · 12 revisions

In the FollowersData section, you can configure the parameters for the Follower feature. This feature allows the projectile to follow the caster. You can configure the target position and following mode.

FollowersData

This is a map where keys are strings (starting with key_) and values are instances of settings for this feature. The key identifies the settings instance. In the Triggers section, you can specify the instance of settings you need using this key.

Projectiles follow the points defined in the pattern.

An instance of settings is an object with the following fields.

  • Pattern: a pattern settings.
  • rounding: how projectile follows the target point. One of the following:
    • None: Projectile just follows the point
    • Plane: fly around the circle of radius roundingR in the plane of pattern.
    • Sphere: fly around the sphere of radius roundingR in the center of pattern.
  • speed: speed mult. Range: 0 - 20. Tweaks following moving & rotation speed.
    Set 0 to make projectile instant: it will be glued to target point (default: 1).
  • collision: determines who the projectile collides with. One of the following:
    • Actor (default): collides only with actors.
    • None: collides with nothing.
    • Spell: collides as usual.

Example

"FollowersData": {
  "key_F_1": {
    "Pattern": {
      "Figure": {
        "shape": "Circle",
        "count": 10,
        "size": 100
      },
      "normal": [0, 0, 1],
      "xDepends": false,
      "posOffset": [0, 0, 100]
    }
  }
},
Clone this wiki locally