PDA

View Full Version : Did they forget getMarkerDir?



Kronzky
Dec 1 2006, 05:04
Nearly 400 new commands in ArmA, but no getMarkerDir (http://community.bistudio.com/wiki/getMarkerDir_%28VBS1%29) ???

Did they just plain forget to implement it, or is there another new way to find out the orientation of markers?

CrashDome
Dec 1 2006, 06:31
Perhaps they forgot to include it in the list? Has anyone tried it?

Then again... is it really needed? I am sure there is a good reason to use it.. I just cant think of one right now.

HitmanFF
Dec 1 2006, 06:45
Quite some time ago, I've been working on a script to put danger signs on the edge of a respawn area (a marker, defined as an ellipsis). To be able to determine where to put the markers and the direction (to make them face outward), I needed (and sorely missed) the getMarkerDir.

kutya
Dec 1 2006, 08:58
Didn't use ArmA buy maybe you could try:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">getDir myMarker[/QUOTE]

HitmanFF
Dec 1 2006, 10:38
Didn&#39;t use ArmA buy maybe you could try:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">getDir myMarker[/QUOTE]
I haven&#39;t tried it for ArmA yet, but it didn&#39;t work for OFP.

CrashDome
Dec 1 2006, 14:09
Quite some time ago, I&#39;ve been working on a script to put danger signs on the edge of a respawn area (a marker, defined as an ellipsis). To be able to determine where to put the markers and the direction (to make them face outward), I needed (and sorely missed) the getMarkerDir.
Excellent example.

Kronzky
Dec 1 2006, 15:01
I really relied that command in the VBS version of my Urban Patrol Script (http://kronzky.info/ups/ups.htm) (a sort-of dynamic mission maker).

With this script the user can place a marker over the area of the map he wants patrolled, and the units will stay within the borders of that marker. And, of course, coverage can be a lot more exact if the marker can be rotated.

I had to take out the functionality of using rotated markers in the OFP version of the script, but I was really hoping to have that command in ArmA (since so many of the dynamic marker commands were copied from VBS to ArmA).

Well... perhaps in one of the updates...

lwlooz
Dec 1 2006, 15:45
Yeah,

and while we are at it reading the text of a marker "getMarkerText"
is missing as well. I think there are a couple of instances of one of the read/write(one of those) functions missing , in the BIKI at least. But since I haven&#39;t gotten the game yet , I can&#39;t find out whats missing tho

TheJay
Oct 27 2007, 05:17
They didn&#39;t forget it, it&#39;s just in a weird place. And marker text as well.

markerDir (http://community.bistudio.com/wiki/markerDir)
markerText (http://community.bistudio.com/wiki/markerText)

TheJay
Oct 27 2007, 05:21
Damn, really old topic lol. I accidently went to the oldest page of topics.

hoz
Oct 27 2007, 13:11
Don&#39;t dig up old threads plz. http://forums.bistudio.com/oldsmileys/smile_o.gif