What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Get zone / read interactions?

Sidalol

Member
Joined
Jul 1, 2010
Messages
987
Reaction score
15
Hi I have 3 questions:
  1. How can I find out what zone I'm in? e.g. "Solzreed Peninsula"
  2. How can I perform an interaction with any object? For example find an object and return the text for the F and G game interactions? Is it also possible for me to then use the interaction the same way plant/harvest functions do?
  3. How can I rotate my character on the spot to face another direction? Can I make it turn on the spot to face a waypoint or anything?
 
Last edited:
Hi, Sidalol!

How can I find out what zone I'm in? e.g. "Solzreed Peninsula"
getCurrentTerritory().displayName
How can I perform an interaction with any object? For example find an object and return the text for the F and G game interactions? Is it also possible for me to then use the interaction the same way plant/harvest functions do?
AB doesnt support keyboard interaction . Every interaction - Function from core, if you find something, that not work - you can write me and i`m add new function for it. For example - you can interaction with DoodadObject with UseDoodadSkill, with NPCs: BuyItems\SellItems\RestoreExp\RessurectMount\RepairAllEquipment\etc
How can I rotate my character on the spot to face another direction? Can I make it turn on the spot to face a waypoint or anything?
You can Use native Turn\RotateLeft\RotateRight\MoveForward\MoveBackward\MoveLeft\MoveRight, if you want running back from mob while attack him with bow, as example
 
Hi, Sidalol!


getCurrentTerritory().displayName

AB doesnt support keyboard interaction . Every interaction - Function from core, if you find something, that not work - you can write me and i`m add new function for it. For example - you can interaction with DoodadObject with UseDoodadSkill, with NPCs: BuyItems\SellItems\RestoreExp\RessurectMount\RepairAllEquipment\etc

You can Use native Turn\RotateLeft\RotateRight\MoveForward\MoveBackward\MoveLeft\MoveRight, if you want running back from mob while attack him with bow, as example

For the 2nd question, say for example the window on a house. I want to move my char to the window, check if the window action is "Open" and then perform action. Are we able to interact with anything like this some how?

For the rotate, can we rotate towards a gps waypoint?
 
I want to move my char to the window, check if the window action is "Open" and then perform action. Are we able to interact with anything like this some how?
For example - try find this window with custom getNearestDoodad (foreach (var d in getDoodads() -> if (d.phaseId == XXX && d.ownerUniqId (or uniqOwnerId) == me.uniqId) - this will be your window
Then cometo to this doodad and UseDoodadSkill
For all doodads you can receive DoodadObject.getUseSkills() - list of all available skills for this doodad
 
Back
Top