Enemies Teleport Ability - KageDesu/Alpha-ABS-Z GitHub Wiki
⚠️ Information actual for version 0.8.8 and above
Enemies can use teleport for quickly reduce the distance with target (Or quickly increase the distance).
How add Teleport Ability to Enemy
Add for enemy next ABS Parameters:
-
Teleport to target:
<teleportDistIn:X>
, where X - max teleport distance in map cells.
Supports Extended Value -
Teleport from target (when escaping):
<teleportDistOut:X>
, where X - max teleport distance in map cells
Supports Extended Value -
Teleport execute chance:
<teleportRate:X>
, where X - chance from 0.1 to 1.0 (default is 1)
Supports Extended Value -
Teleport cooldown time: (time between each teleport usage)
<teleportDelay:X>
, where X - time in seconds (default is 3)
Supports Extended Value -
Teleport apply animation:
<teleportStartAnim:X>
, where X - animation ID from database -
Teleport completed animation (in destination point after teleport completes):
<teleportEndAnim:X>
, where X - animation ID from database
You can use all this parameters together
⚠️ You can see how teleport implemented in Demo project, Map ID 53 EnemyWithTeleport