So. What i need to do here is to attach the modle of a "Range Marker" to a unit's model. in order to mark it's attack distance.
Ex. My hero has an attack range of 7, I want it so that every other player and the owner of the hero can see a "Ring" around the hero in order for them to see the hero's attack range...
The way i plan on doing this is by making an actor, and somehow attaching the "Range" actor to a model, (when i say "Range" actor i mean the little ring of dots that appear when you are placing a defense structure or using an ability) How would i go about doing this? I tried coppying one of the range actors and changing it's events to the birth of my hero but it did not work.
Make sure the subject in "Host - Host +" points to an alias on your unit's actor (probably _Unit or _Selectable), and set the site operation "Host - Site Operations +" to attach it to the right location on your model - SOpAttachOrigin is probably what you want
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So. What i need to do here is to attach the modle of a "Range Marker" to a unit's model. in order to mark it's attack distance. Ex. My hero has an attack range of 7, I want it so that every other player and the owner of the hero can see a "Ring" around the hero in order for them to see the hero's attack range... The way i plan on doing this is by making an actor, and somehow attaching the "Range" actor to a model, (when i say "Range" actor i mean the little ring of dots that appear when you are placing a defense structure or using an ability) How would i go about doing this? I tried coppying one of the range actors and changing it's events to the birth of my hero but it did not work.
you might want to take a look at the sensor tower because iirc its sight radius is visible to everyone
@Thebillsta: Go
Make sure the subject in "Host - Host +" points to an alias on your unit's actor (probably _Unit or _Selectable), and set the site operation "Host - Site Operations +" to attach it to the right location on your model - SOpAttachOrigin is probably what you want