- Joined
- Oct 29, 2017
- Messages
- 4
- Thread Author
- #1
Heya,
I'm writing an Abyss runecrafter, but I'm struggling to interact with the Mage of Zamorak.
To interact with it I'd normally do this...
However, the Mage of Zamorak's name is null in the Development Toolkit, so I can't interact with it like I usually do. Can I interact with it by using its ID or something? I'm really stuck.
Thanks
I'm writing an Abyss runecrafter, but I'm struggling to interact with the Mage of Zamorak.
To interact with it I'd normally do this...
Code:
Npc mage = Npcs.newQuery().names("Mage of Zamorak").results().first();
if (mage != null) {
mage.interact("Teleport");
Execution.delay(1100, 2200, 1749);
}
However, the Mage of Zamorak's name is null in the Development Toolkit, so I can't interact with it like I usually do. Can I interact with it by using its ID or something? I'm really stuck.
Thanks