ABS Script Actions (SAction) - KageDesu/Alpha-ABS-Z GitHub Wiki
⚠️ Information actual for version 0.9 and above
ABS Script Actions (SActions) - it's shorcuts for some script calls, used in ABS paramters for create extra behaviour and actions.
🥇 Since version 0.8 you can call SActions directly (in Events) using Script calls User API
Usage examples
Comments in Events: (see Extra Events Comments)
<onVectorHit:an_138>
- play animation 138 (ID) when any projectile hits event
<onVectorHit_44:ce_2>
- start common event 2 (ID) when projectile with skill ID 44 hits event
Enemies ABS Parameters:
<onDeath:an_33>
- play animation 33 when enemy is die (see ABS Enemies Settings)
Script calls inside Events:
uAPI.scriptAction("ba_1", this, 100)
- play Balloon animation 1 above this Event after 100ms delay
You can find examples in Demo Project, see map SActions
SActions list
Action | Structure | Examples |
---|---|---|
Turn Self Switch | ss_SWITCH_VALUE, ss_SWITCH_VALUE_EVID | ss_A_true, ss_B_false, ss_C_false_3 (3 - Event ID on map) |
Turn Switch | sw_SWITCH_VALUE | sw_43_true, sw_222_false |
Set Variable | vr_ID_VALUE | vr_54_31321, vr_11_100 |
Start Common Event | ce_ID, ce_ID_this | ce_43, ce_11_this (start common event as part of this event) |
Start Event on map | ev_ID | ev_5 (start event 5 on current map) |
Change ABS Enemy parameter | ap_PARAM_VALUE, ap_PARAM_VALUE_EVID | ap_viewRadius_6, ap_viewRadius_6_12 (12 - Another Enemy Event ID on map). Parameters list see in ABS Enemies Settings |
Start Animation | an_ID, an_ID_EVID, an_ID_X_Y | an_140, an_120_12 (12 - Event ID animation for), an_55_10_20 (10, 20 - X,Y on Map) |
Character Effect: Shake | ef_shake_TIME, ef_shake_TIME_EVID | ef_shake_10, ef_shake_10_12 (12 - Event ID on map) |
Character Effect: Shatter | ef_shatter_DX_DY, ef_shake_DX_DY_EVID | ef_shatter_4_4, ef_shatter_4_4_2 (2 - Event ID on map) |
Play SE sound | se_NAME, se_NAME_VOLUME_PITCH | se_Bell1, se_Bell1_90_100 |
Play Balloon Icon | ba_NUMBER, ba_NUMBER_EVID | ba_1, ba_1_4 (4 - Event ID on map) |
Execute Global Skill | es_OWNER_TEAM_SKILL, es_OWNER_TEAM_SKILL_X_Y, es_OWNER_TEAM_SKILL_CHARID | es_0_-1_303 (on self X, Y), es_0_0_304_10_20 (10, 20 - X,Y on Map), es_0_1_300_0 (0 - on Player) |
Play AnimaX Action | ax_NAME, ax_NAME_EVID | ax_Attack, ax_Attack_34 (34 - Event ID on map). Event should have AnimaX definition |
Add state | as_STATEID, as_STATEID_EVID | as_43, as_43_11 (43 - state ID, 11 - Event ID on map) |