Home   Help Search Login Register  

Author Topic: isMap function?  (Read 457 times)

0 Members and 1 Guest are viewing this topic.

Offline alimag

  • Contributing Member
  • **
  • I'm a llama!
isMap function?
« on: 10 Nov 2003, 14:47:31 »
Hi everyone,

Is there a function that will return true/false if the map is currently displayed on the screen (something like isEngine function)?

The functions I have found in the comref are not what I need.

Thanks in advance

AliMag

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:isMap function?
« Reply #1 on: 10 Nov 2003, 17:43:02 »
Hey !

I don't think you can do that, and that's really unfortunate (I wish we could too...)

Still, somebody might come up with a solution that doesn't use :

forcemap
show(n)map,

which are barely acceptable work-arounds.

*joins alimag in the waiting-room*

Ig.

Offline alimag

  • Contributing Member
  • **
  • I'm a llama!
Re:isMap function?
« Reply #2 on: 11 Nov 2003, 16:26:53 »
Thanks for the reply Igor,

I find it strange that the developpers have no way of knowing (internally) when the map is displayed. I'm sure that they could add an isMap function if they want.

Another solution would be to give the scripters a possibility to intercept the key pressed during a mission.  so we can manage when the 'M' key is pressed (or any other key for that matter)

Maybe a last patch BIS?

AliMag