IRONFRONT FANS FORUM
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Haz

Sergeant
Registered:
Posts: 89
Reply with quote  #1 
I have done a back-port of my A3 to IF and have come across a problem. In A3 it is more easy to use functions with JIP as you have the BIS_fnc_MP command however, in IF you don't. How would I make my functions JIP compatible in IF? Below is one example of a function that works fine with JIP in A3.
Lib_func_createMarker = {
_mName = _this select 0;
_mPos = getMarkerPos (_this select 1);
_mText = _this select 2;
_mSize1 = _this select 3;
_mSize2 = _this select 4;
_mDir = _this select 5;
_mType = _this select 6;
_mShape = _this select 7;
_mBrush = _this select 8;
_mColour = _this select 9;
_mAlpha = _this select 10;

_m = createMarker [_mName, _mPos];
_m setMarkerText _mText;
_m setMarkerSize [_mSize1, _mSize2];
_m setMarkerDir _mDir;
_m setMarkerType _mType;
_m setMarkerShape _mShape;
_m setMarkerBrush _mBrush;
_m setMarkerColor _mColour;
_m setMarkerAlpha _mAlpha;
};


Dirty Haz
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.