Results 1 to 3 of 3

Thread: CreateMarkers

  1. #1

    Exclamation CreateMarkers

    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...

  2. #2
    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:
    Quote Originally Posted by http://community.bistudio.com/wiki/Arma:_Cold_War_Assault#Version_1.99_Change_Log
    - 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.
    ECS Team - Poweruser
    formerly known as dengibtsschon

  3. #3
    hi,

    Quote Originally Posted by _Lup_ View Post
    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.
    Code:
    "markerName" setMarkerSize [0,0]
    You can also setMarkerType to empty with this command
    Code:
    "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.
    Last edited by Nikiller; Mar 3 2012 at 21:48.
    [LOL] ofp/ArmA clan since 2004.
    No Respawns, No Crosshairs, No Muppets.
    Want a good ofp/ArmA2 coop? Visit the [LOL] clan homepage | ofp [LOL] addons pack | ArmA2 [LOL] addons pack

    WW4mod25 sound replacement mod v1.1 | Nikiller's scripts pack

Similar Threads

  1. JIP and createmarkers
    By Mikie boy in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 5
    Last Post: Aug 19 2011, 00:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •