Is there any way to temporarily paint a line between 2 custom points via triggers? I thought it's possible by using beams, but after I inspected the forum, I realized, that it's only possible by creating dummy invisible units, which maybe too complicated for the simple aim I need to paint lines for.
So, maybe there is another way to paint lines? How do they paint multiple target moving lines or lines between rally points? Or maybe someone has found a way to show beams easier, without creating dummy units?
You could use a loop to create a model actor repeatedly in a line using 'point with polar offset.' You just need a suitable model actor. Not sure what the impact would be on system resources but it shouldn't be too bad... depending on the number of actors you're creating I guess.
It would be something like this (I'm using an action definition):
I looked into this recently but what I needed were lines over the game world (in UI layer), so I ended up leaving a trail of dialog item images (yellow dots) to produce a line where the user drew. I also looked into drawing on the game world like you want to do, and the best I could come up with is BasharTeg's approach using splats as the models.
I don't believe there is a way to draw vector lines in the game world, which would be the ideal solution. The only other thing I can think is to use a waypoint indicator, although I don't know how to set that up (or how easy it is).
Is there any way to temporarily paint a line between 2 custom points via triggers? I thought it's possible by using beams, but after I inspected the forum, I realized, that it's only possible by creating dummy invisible units, which maybe too complicated for the simple aim I need to paint lines for.
So, maybe there is another way to paint lines? How do they paint multiple target moving lines or lines between rally points? Or maybe someone has found a way to show beams easier, without creating dummy units?
I have used units with specific models to draw lines on the map works like a charm
The only other option I can think of is to some how re-create the way some of the rally point / order (actors) work.
Where you set a rally point of a building and if you have the building selected it shows you a pretty nice arrow type line from the building to the specified rally point. Unlike beams this actor doesn't have display issues dependent on the range between points.
This may require dummy units being involved and then some fancy actor editing to get the lines to show permanently. Though doing it this way does not give you an option to show the lines on the mini map.
Is there any way to temporarily paint a line between 2 custom points via triggers? I thought it's possible by using beams, but after I inspected the forum, I realized, that it's only possible by creating dummy invisible units, which maybe too complicated for the simple aim I need to paint lines for.
So, maybe there is another way to paint lines? How do they paint multiple target moving lines or lines between rally points? Or maybe someone has found a way to show beams easier, without creating dummy units?
You could use a loop to create a model actor repeatedly in a line using 'point with polar offset.' You just need a suitable model actor. Not sure what the impact would be on system resources but it shouldn't be too bad... depending on the number of actors you're creating I guess.
It would be something like this (I'm using an action definition):
Yeah, good idea. I used and refused it yet :)
Here, in this thread, I'd like to hear about true lines.
@Zolden: Go
I looked into this recently but what I needed were lines over the game world (in UI layer), so I ended up leaving a trail of dialog item images (yellow dots) to produce a line where the user drew. I also looked into drawing on the game world like you want to do, and the best I could come up with is BasharTeg's approach using splats as the models.
I don't believe there is a way to draw vector lines in the game world, which would be the ideal solution. The only other thing I can think is to use a waypoint indicator, although I don't know how to set that up (or how easy it is).
I have used units with specific models to draw lines on the map works like a charm
The only other option I can think of is to some how re-create the way some of the rally point / order (actors) work.
Where you set a rally point of a building and if you have the building selected it shows you a pretty nice arrow type line from the building to the specified rally point. Unlike beams this actor doesn't have display issues dependent on the range between points.
This may require dummy units being involved and then some fancy actor editing to get the lines to show permanently. Though doing it this way does not give you an option to show the lines on the mini map.
Thank you, guys, for the ideas. I've tried to find any events linked to rally point visualizations, but failed ;/
Seems like all these rally lines are deeply incorporated into rally point ability and can't be used manually.
And using many models aligned into line still not desireble, because I must care about perfmance realy hard.