I'm trying to set up a dummy target system. To get it working I need to scale a unit down to its smallest scale (.01) and then lower it below the ground. However, when the scale is that small, it's almost impossible to click on it. Is there a way to increase the radius in which I can click on a unit?
Rollback Post to RevisionRollBack
The Team - TnTProductions
TnTProductions latest Project - Docking Bay 13
TnTProductions Epic RPG in the making - Psionics: Chaos Rising
Check out our website on wixx! http://bulletbutter.wix.com/tntproductions
You can try to attach a transparent actor with the Allow Hit Test flag checked (should be on by default for the common attachment actors). You can also modify the Selection Radius for the model, but afaik this does not change the actual selection properties, just the size of the green ring shown on selection.
For Kerrigan, I needed to slap her with a right mouse. This didn't select her. It just tried moving my Infestor that was selected. So I set up a thing where I had 4 points. Each offset by a certain amount in all 4 directions. I then had a trigger that when right mouse was clicked, if the click was between the points of the X axis and the Y axis, then I run my actions.
So basically it's setting up a region where the mouse click will be registered.
Under the Models data type you can set how big the selection circle is. Although why dont you just make the unit invisible via the Set Opacity event action?
I'm trying to set up a dummy target system. To get it working I need to scale a unit down to its smallest scale (.01) and then lower it below the ground. However, when the scale is that small, it's almost impossible to click on it. Is there a way to increase the radius in which I can click on a unit?
You can try to attach a transparent actor with the Allow Hit Test flag checked (should be on by default for the common attachment actors). You can also modify the Selection Radius for the model, but afaik this does not change the actual selection properties, just the size of the green ring shown on selection.
For Kerrigan, I needed to slap her with a right mouse. This didn't select her. It just tried moving my Infestor that was selected. So I set up a thing where I had 4 points. Each offset by a certain amount in all 4 directions. I then had a trigger that when right mouse was clicked, if the click was between the points of the X axis and the Y axis, then I run my actions.
So basically it's setting up a region where the mouse click will be registered.
You can check it out in the map if you want.
Under the Models data type you can set how big the selection circle is. Although why dont you just make the unit invisible via the Set Opacity event action?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil:
Yeah that makes way more sense. You can reduce the unit footprint to so they have zero collision with other units.