Cool VL Viewer forum
http://sldev.free.fr/forum/

Assign color to marked AVs Hitbox
http://sldev.free.fr/forum/viewtopic.php?f=6&t=2514
Page 1 of 1

Author:  Mask [ 2024-05-31 18:45:08 ]
Post subject:  Assign color to marked AVs Hitbox

Would like to right click on a cluster of AVs on the mini map, assign them a color and have that color show on their hit boxes. This is useful in team combat to mark your team mates and opponents with different colors

Author:  Henri Beauchamp [ 2024-05-31 19:25:07 ]
Post subject:  Re: Assign color to marked AVs Hitbox

This is already possible: hit-boxes are drawn with the same color as the mini-map avatar dot color; you may change the latter via Lua (with the SetAvatarMinimapColor() function).

An example is provided in the Lua manual (in the appendix A), on how to use it together with the Lua pie menu for avatars (SHIFT+right mouse button click). See the page with the DefineAvatarPieMenu(), OnLuaPieMenu() and OnAvatarRezzing() functions in this appendix.

You could of course make a more elaborate UI in Lua, for example with a Lua floater that would use the radar data to list the avatars around you, letting you select the ones you want to change the color for...

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/