Locators - KageDesu/Alpha-ABS-Z GitHub Wiki

⚠️ Information actual for version 0.8 and above

You can make an event to perform a certain action when a certain target is in the detection area

Locators can be added to any events and to ABS enemies

Add locator to any Event

Add comment <absLocator:RADIUS, SERACH_EVENT_TYPE, CE_ID, LOOP> to Event page

Where: RADIUS - search area radius in Map Points
SERACH_EVENT_TYPE - can be: 0 - player, -1 - this ABS event Team_ID (same as me), X (any number) - team ID
CE_ID - common event ID for execute when target finded
LOOP - can be: 0 - infinity (loop), 1 - once (remove locator after target is finded and Common Event is called)

Example:

<absLocator:6,1,7,0> // search in radius 6 all ABS enemies with TeamID == 1, when find, execute common event 7, loop every second (0)

⚠️ Locator only alive when Event on Page with locator comment.
When you change Event Page, to page without this comment, locator stops works. Or you can create another locator with different settings on another Event page.


Examples

⚠️ Examples you can find in Demo Project, map Locator (ID 35) 🗺️

AABSZ_LocatorEx


Extra Script Calls

You can use next script calls:

  • uAPI.lastLocatorTarget(); - return last Character that been spotted by locator
  • uAPI.lastActivatedLocator(); - return last activated locator (that spotted target)