That would be the Range type actor. Look at the turrets for the placement version and at the Siege Tank for the unit version. The difference will be the event that initiates the actor, both will probably draw their range value from the host's weapon.
Development > Data
How to get "range line" to appear
- 3 posts
-
Photoloss Regular Shmoe
- Join date
- May 03, 2010
- Location
- Germany
- Reputation
- 50
- Posts
- 708
- Last login
- May 16, 2013
-
TrenchaunT Regular Shmoe
- Battle.net
- TrenchaunT
- #427 NA
- Join date
- Jan 07, 2012
- Location
- United States
- Reputation
- 6
- Posts
- 123
- Last login
- Mar 24, 2013
The actual events that call up a Range actor when placing it are in the PlacementModel actor, whereas if you want it to appear when you select a unit the event needs to be in the unit actor, e.g.:
<On Terms="StatusOn.*.Selected" Send="Create LaserTurretProtectRange"/>
<On Terms="StatusOff.*.Selected" Target="LaserTurretProtectRange" Send="Destroy"/>
- 3 posts
littlefury916 Regular ShmoeI was just wondering how to get the "range line" to appear during placement, and/or when you click on the unit. The line meaning the white circle that appears around the tank whenever you click on it. Thanks!