Jump to content

unacknowledged

Member
  • Content Count

    31
  • Joined

  • Last visited

  • Medals

Posts posted by unacknowledged


  1. Thank you for simplifying it, but how would one go about making it a NATO Flag Icon and i'm now mind fu**ed due to it saying Truck everywhere when I have a Plane :P

    Welcome to ArmaLand!! Read this for more info re: scripting/missoin making:

    http://www.armaholic.com/page.php?id=4847

    Create a file called init.sqf and moveMarker.sqf (make sure files are not called init.sqf.txt - remove Hide file extensions in Windows).

    In the init.sqf paste this:

    if (isServer) then
    {
    call compile preprocessFileLineNumbers "MoveTruckMarker.sqf";
    
    if (isNil "TruckMarker") then {TruckMarker = [];};
    "TruckMarker" addPublicVariableEventHandler 
    {
    	createMarker [((_this select 1) select 0), position ((_this select 1) select 1)];
    	"TruckMarker" setMarkerShape "ELLIPSE";
    	"TruckMarker" setMarkerSize [1, 1];
    	"TruckMarker" setMarkerShape "ICON";
    	"TruckMarker" setMarkerType "DOT";
    	"TruckMarker" setMarkerColor "ColorRed";
    	"TruckMarker" setMarkerText "MHQ";	
    	call attach_truck_mkr;
    };
    };

    In the markerMove.sqf paste this:

    attach_truck_mkr = {
    [] spawn { while {alive MyTruck} do { "TruckMarker" setmarkerpos getposATL MyTruck; sleep 1; }; };
    };

    (make sure your truck is called myTruck in editor)

    Profit!!


  2. Thank you for the welcome good sir, and thank you for responding!

    Although, I don't quite see what i'm supposed to grab from the post that you linked me with? Excuse me if I don't seem to grasp it, I must need it explaining in more simple terms.


  3. Hey all,

    This is my very first post and i'm hoping to be a part of the community :)

    Anyway, to the subject at hand. I am wondering how one would create a Marker that updates it's self every second, so basically a live marker that I want to be attach to a AddOn plane. I seen a thread about that on here but it didn't really answer my question, or i'm too much of a simpleton to understand ;) I want this for a mission i'm making and this AddOn Plane can refuel other Aircraft in mid air as i'm very big on flying.

    What I have so far,

    C-17: AI Controlled, Set to flying and has 3 waypoints, 2 that are "MOVE" and 1 for "CYCLE" The plane is named Refuel

    Marker Name: Marker_Refuel Marker Text: Air-Refuel

    Hopefully one of you know how to resolve this :D

    Thanks guys,

    -UA

×