swlegion / tts

Table Top Simulator Mod for Star Wars: Legion
MIT License
45 stars 27 forks source link

Allow spawning range ruler from any mini #543

Closed JackParkes1 closed 2 years ago

JackParkes1 commented 2 years ago

Addresses Issue #493

Achieved by giving each mini a pointer to the GUID of their unit leader, then if the range ruler is not spawned on a leader, that GUID is used to get the unit data required to spawn the rulers. This leader GUID reference may prove useful for other features too.

Additionally, there is a behavioural change, where the rulers now toggle when repeatedly triggered on the same mini, rather than clearing it and respawining it instantly

image