I 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!
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.
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"/>
You must login to post a comment. Don't have an account? Register to get one!