-
Notifications
You must be signed in to change notification settings - Fork 19
Defense Towers
In simple words, will allow you create tower defense game type inside your game.
- Base on standard Events (it's not ABS Enemy, you can't kill it or attack, but can just turn ON\ turn OFF)
- To activate, just add a special comment to any event page (except ABS events)
- To deactivate, just change tower event page to page without comment
- Can use any ABS Skill types (except skill when you need select attack zone with mouse and skills requires ammo)
- Supports skills with casting,
noTarget
skills,directionFix
skills - Action based on Custom Route. You control when the tower will attack, using the event move route and a special script call. This allows you to create not only animation but also the movement of the tower before and after the attack
- Can attack enemies, the player (and allies), or attack all
Add <AADEFENSE> to map Note
section
- Add
Comment
to the event page <AADefenseEntity:X:Y:Z>
Where:
-
X - ABS Skill ID
Supported 0,1,2,3 ABS skill types
⚠️ Don't supported Area Select skill,The User
scope skills and skills required ammunition
⚠️ The tower view radius - is the skillrange
-
Y - Enemy ID from database
Enemy uses only for skill requirements, like consume MP or calculate some parameters in skill damage formula
This allows you to set a limited number of attacks (MP), or adjust Tower attack power
⚠️ Defense Tower don't uses ABS parameters from Enemy -
Z - Tower attack scope ( 0 - against player, 1 - against monsters, 2 - against all)
- Set
Antonomous Movement
to Custom
For deactivate, just change page to another, where comment AADefenseEntity
don't exists
For skill activation, Tower uses special Script Call: towerAction
towerAction
starts as Tower saw target
Even if the skill is ready, the attack will not start again until the route is completed
After route is complete (end), it's always repeated again
Demo project: Link