Jump to content
Sign in to follow this  
S3LMON

How do you create a marker that looks like this?

Recommended Posts

Hello 🙂

 

 

In the second photo in the link below, there is a large, translucent circle centered on the "hd_objective" marker.

 

https://www.armaholic.com/page.php?id=18181

 

I want to turn that circle into a rectangle and create a marker with only a border (for displaying the range) But I couldn't find the original class name

 

https://community.bistudio.com/wiki/CfgMarkers

 

DrawRectangle as an alternative I've tried, but somehow I don't get an error, but it doesn't work.

 

	findDisplay 46 
	displayCtrl 46 drawRectangle [
	player,
	10,
	20,
	getDir player,
	[1,1,1,1],
	"#(rgb,8,8,3)color(1,0,0,1)"
];

 

I have poor scripting skills so I am not sure how to achieve my goal. I am not an English speaking person.

I am not sure if my intent has been clearly communicated. (Using Google Translate)

 

I really want to achieve this goal, so I ask. Please help me

 

 

 

Share this post


Link to post
Share on other sites
27 minutes ago, gc8 said:

this should do it:

 


_marker1 = createMarker ["Marker1", position player];
_marker1 setMarkerShape "RECTANGLE";
_marker1 setMarkerBrush "Border";

 

more info:

 

https://community.bistudio.com/wiki/setMarkerShape

https://community.bistudio.com/wiki/setMarkerBrush

 

 

It works so well! Was it this simple?

really I need a lot of study...

Thank you very much !

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×