OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: olseric 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?
-
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
-
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
-
GRK's true/false thing for during the missions (it is 1/0 in description.ext) rings a bell - try it.
-
Then there is a "shown map" command. Not really sure what to use that for.... :P
-
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...
-
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. ;)