View Single Post
12-08-17, 01:25 PM   #27
Ammako
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 256
Originally Posted by vis781 View Post
Actually this doesn't make any sense, your answer implies the use of further functions to try and develop a cheat for the game. UnitName is a read-only method and therefore not subject to tampering. So, there is no reason why it shouldn't be usable from inside the secure environment.
Of course it's read-only, you're not gonna change the name of a unit for everyone through lua.

You can create secure action buttons for using items or casting spells, but if UnitName was readable from within that environment, you could have a secure button for casting spells which could automate selecting between different actions depending on which unit you have targeted, etc.

That's how I understand it, at least.
  Reply With Quote