-
Notifications
You must be signed in to change notification settings - Fork 0
Script calls User API
uAPI (ID 5) 🗺️
- uAPI.resumeABS();
- uAPI.pauseABS();
- uAPI.editUI(); - starts UI editor scene
- uAPI.showUI();
- uAPI.hideUI();
- uAPI.resetUserUISettings(); - reset all UI settings (changed via Editor or Script calls) to defaults (from Plugin Parameters)
- uAPI.setSkillToPanel(ID, SLOT_SYMBOL);
- uAPI.setItemToPanel(ID, SLOT_SYMBOL);
ID- it's skill or item ID from database
SLOT_SYMBOL- it's slot key (1,2 or E...)
For remove item, use 0 instead ID
Example: Remove any skill from Slot 5uAPI.setSkillToPanel(0, 5);
For add item\skill in any empty skill slot, not use any SLOT_SYMBOL (keep empty)
Example: Add item 10 in any empty slotuAPI.setItemToPanel(10);
- uAPI.getSkillIdFromPanel(SLOT_SYMBOL);
- return skill or item ID from skill slot, or 0 if slot is empty
- uAPI.enableMapScroll();
- uAPI.disableMapScroll();
- uAPI.resetMapScroll(); - reset camera to center
-
uAPI.gainExpForEnemyDb( ENEMY_DB_ID, IS_SHOW_NOTIFY );
- get experience for enemy by his database ID -
uAPI.gainExpForEnemyEv( EVENT_ID, IS_SHOW_NOTIFY );
- get experience for enemy by his Event ID on map (only for ABS events)
IS_SHOW_NOTIFY - show popUp? true or false
Example:uAPI.gainExpForEnemyDb(10, true);
Exp (ID 14) 🗺️