Skip to content

ABS Events Commands

Pheonix KageDesu edited this page Dec 25, 2019 · 6 revisions

⚠️ Available since Build 1082

In common events, which you use in commands <cEonEnd>, <cEonStart>, <cEonDeath>, <cEonUse>, <cEinBattle>, now you can use new shortcut commands and Battle standard event commands block to work directly in current ABS Event.

⚠️ Red - can't be used at all


How use Battle commands block

If you choice Entire Troop - affected to all in battle enemies on map

I you choice any other option (#1 for example) - affected to current enemy (on which a common event is used)

How use Conditions

⚠️ Appeared - not working, only State

How use Control Variables

The data of the current enemy will be used

Example

This common event used in parameter. Each second enemy check his health and apply state to self, if health is low. Then, using this.clearBattleEventE(), common event stops works.


In Battle Common Event

ABS Parameter for enemy:
<cEInBattle:X> - where X - common event ID. This common event will be work parallel and called each second, when enemy in battle

For clear common event, you can use script call (in the same common event): this.clearInBattleEventE();
Or: this.setParamE('cEinBattle', 0); - same


Shortcuts

Script calls for Common Events, used on ABS enemies
All the same that in uAPI uAPI wiki, but you don't need specify event ID

this.setParamE(_paramName_, _newValue_);
this.lootE();
this.reviveE();
this.activateE();
this.deactivateE();

⚠️ keyword this is necessary

Example, Steal Skill Common Event: