Thread Tools Display Modes
10-20-19, 01:13 PM   #1
hasnogaems
A Flamescale Wyrmkin
 
hasnogaems's Avatar
Join Date: Apr 2016
Posts: 109
Can I make friendly player models clickthrough?

It keep happening, when im loosing aggro then trying to target unit, then boom, shaman place totem and i target it, or somebody run in. If I really need to target someone I can use raidframes. How to make friendly player models clickthrough?
  Reply With Quote
10-20-19, 03:06 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
You cannot.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
10-20-19, 07:49 PM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Addons can't interact with the rendered world. They run completely isolated in a UI layer on top of it.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
10-21-19, 11:45 PM   #4
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Frames are always rectangular, there is no shaping.

And reiterating concerning reading a unit's model...
Originally Posted by SDPhantom View Post
Addons can't interact with the rendered world.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
10-21-19, 04:12 AM   #5
hasnogaems
A Flamescale Wyrmkin
 
hasnogaems's Avatar
Join Date: Apr 2016
Posts: 109
I imagined it can be achieved through editing cursor behavior properties.
Addons capable of doing this right?
Something like: if mouseover=friendly then on click do nothing
or target closest to cursor enemy
or target friendly targets target

Last edited by hasnogaems : 10-21-19 at 10:01 PM.
  Reply With Quote
10-21-19, 11:15 AM   #6
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Addons don't have any control over how the cursor interacts with the game world either. An invisible frame created and positioned under the cursor is the only way to block clicks, but this also blocks mouseover detection, rendering that approach ineffective.

In addition, changing target is a protected action and cannot be run directly by addons.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
10-21-19, 10:04 PM   #7
hasnogaems
A Flamescale Wyrmkin
 
hasnogaems's Avatar
Join Date: Apr 2016
Posts: 109
Is it possible to create invisible frame only on friendly unit models that will copy shape of the models? And then on click make it: target targets target if exist
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Can I make friendly player models clickthrough?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off