Jump to content
Sign in to follow this  
_Lup_

CreateMarkers

Recommended Posts

Hello all!

How I can create marker in script? What command?

createunit, createvehicle, camcreate... it work, but createmarker - no!

Please help me, I don't know what to do...

Share this post


Link to post
Share on other sites
How I can create marker in script?

You can not, as the script command createMarker does not exist in OFP. Neither in 1.96 nor in 1.99, even though the Changelog of 1.99 mentions:

- Changed: createMarker function now works only local

It was first added in ArmA 1.00

All markers that you want to use during the mission, have to be created at design-time in the mission editor.

Share this post


Link to post
Share on other sites

hi,

Hello all!

How I can create marker in script? What command?

createunit, createvehicle, camcreate... it work, but createmarker - no!

Please help me, I don't know what to do...

As said above you can't create markers but there's workarounds. You can set marker's size or type.

In example, if you want invisible marker you can setMarkerSize to 0.

"markerName" setMarkerSize [0,0]

You can also setMarkerType to empty with this command

"markerName" setMarkerType "Empty"

Of course, you can reverse marker's size and/or type when needed.

You can check size and type with those commands getMarkerSize and getMarkerType.

cya.

Nikiller.

Edited by Nikiller

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  

×