Home   Help Search Login Register  

Author Topic: About « Marker »  (Read 903 times)

0 Members and 1 Guest are viewing this topic.

Strike Commander

  • Guest
About « Marker »
« on: 16 Jul 2005, 13:27:36 »
Hi there,
I would like to know if it is possible to create a marker with a script

I put a BMP (with a script) somewhere on the map, after that I would like to see a BMP icon where it is

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:About « Marker »
« Reply #1 on: 16 Jul 2005, 13:55:17 »
You can't create a marker with a script but you can make an invisible one visible, and  you can move it

Look in comref at
setMarkerPos
setMarkerType
etc.

Note that a marker type of "Empty" is invisble.

I suggest you put the marker on the map the way you want it and in init.sqs set it to Empty. Then later on change it back to the type you want.   That way you can decide how you want it to look in the mission editor.
« Last Edit: 22 Jul 2005, 21:00:31 by THobson »

Strike Commander

  • Guest
Re:About « Marker »
« Reply #2 on: 16 Jul 2005, 14:03:06 »
 :-\
thanx for the answer
I want not use the mission editor
« Last Edit: 16 Jul 2005, 14:05:04 by Strike Commander »

Strike Commander

  • Guest
Re:About « Marker »
« Reply #3 on: 16 Jul 2005, 14:28:45 »
I think to anything else,
when I call a soldier to do a report of his own position, a marker is on map, I think it should be created by a script, no?

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:About « Marker »
« Reply #4 on: 16 Jul 2005, 16:33:13 »
Those markers are created by OFP.  I am not sure of any way for the mission maker to create them.

qqqqqq

  • Guest
Re:About « Marker »
« Reply #5 on: 16 Jul 2005, 23:49:17 »
THobson is correct.    

AFAIK it is not possible for a mission maker to create the map icons to which you refer.

Strike Commander

  • Guest
Re:About « Marker »
« Reply #6 on: 22 Jul 2005, 20:03:09 »
I agree with you  :-\

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:About « Marker »
« Reply #7 on: 22 Jul 2005, 21:01:11 »
You could use a small dot.

Offline Garcia

  • Members
  • *
  • Leeds United is the best football team...EVER!
Re:About « Marker »
« Reply #8 on: 22 Jul 2005, 23:09:04 »
why wouldn't you use the mission editor? The only way is to place an empty marker in the editor and change the type in the script, as they said, but I still wonder why you don't want to use the editor? :P

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:About « Marker »
« Reply #9 on: 22 Jul 2005, 23:23:44 »
I think what he wants is the little APC icon that marks the position of the BMP when placed on a map.

These icons are placed by the game engine and can be found in the Data.pbo, they are defined in the config.cpp for any particular model.

The BMP for instance uses bmp.paa, which is also used by the whole APC class.


Planck
« Last Edit: 22 Jul 2005, 23:25:19 by Planck »
I know a little about a lot, and a lot about a little.