Home   Help Search Login Register  

Author Topic: showMap  (Read 501 times)

0 Members and 2 Guests are viewing this topic.

olseric

  • Guest
showMap
« on: 12 Aug 2004, 02:33:29 »
Anyone else ever ran into an issue with the showMap command?

I can get it to work from the description.ext file, but the problem is, I want it to show for some, but not all.  From the desc file, it hides for everyone.

I attempted to put the command directly into the init field of the units I wanted to have the map and it kept telling me it was an invalid command.

Thoughts?  Ideas?

Dubieman

  • Guest
Re:showMap
« Reply #1 on: 12 Aug 2004, 03:03:40 »
Hmm,

I know the .ext one:

showmap 1   map shown
showmap 0  map not shown

then I saw something in the com ref about:

showmap true
showmap false

is that what you're looking for?

I've only dealt with .ext ones... :P

GrimMonkey

  • Guest
Re:showMap
« Reply #2 on: 12 Aug 2004, 05:59:39 »
ShowMap = 1;                Map is shown
ShowMap = 0;                Map is not shown

Only works in 'Description.ext' as far as I know. Chances are that it will be hidden for everyone.


Beware the GrimMonkey
« Last Edit: 12 Aug 2004, 06:00:39 by GrimMonkey »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:showMap
« Reply #3 on: 12 Aug 2004, 10:06:55 »
GRK's true/false thing for during the missions (it is 1/0 in description.ext) rings a bell - try it.
Plenty of reviewed ArmA missions for you to play

Dubieman

  • Guest
Re:showMap
« Reply #4 on: 12 Aug 2004, 16:21:45 »
Then there is a "shown map" command. Not really sure what  to use that for.... :P

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:showMap
« Reply #5 on: 12 Aug 2004, 16:52:47 »
shownMap returns true/false according to that showMap definition in the description.ext...

if showMap = 1 then shownMap returns true...

This must be one of the most unusefull commands BIS have included in OFP... :(
imo...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

olseric

  • Guest
Re:showMap
« Reply #6 on: 13 Aug 2004, 05:16:47 »
Thanks guys for your help.  I think you pretty much confirmed my suspicions.

Doensn't much help in an SAR map to have it hidden from the SAR Crew, and visible to the pilot, but I guess we'll just make the pilot AI anyway. ;)