Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: once again...onMapSingleClick!  (Read 2275 times)

0 Members and 1 Guest are viewing this topic.

Offline L!nk

  • Members
  • *
once again...onMapSingleClick!
« on: 29 Apr 2008, 20:17:22 »
There are three things I want to know about the command onMapSingleClick.

1. I noticed that when I add this command to a mission it works. But when I run the same mission with a mod that has this features as well, the mission's command is disabled (if not both). So the question is, can I make them both work at the same time?

2. In my mission I have a dialog containing a map. How can I seperate the command for the real map(by pressing M) from the map in the dialog? I want onMapSingleClick to only work on the map in the dialog and then any mod can use the real map to do their own stuff (like in ECP for OFP).

3. My knownledge about the syntax for this command is still little vaig. When is "" used and when is {} used? Is this a way to disable it because I have seen it in some sample scripts I looked at.

I think problem 1 and 2 can be solved by simple disabling and enabling the command but the overall question is HOW?

Can anyone help?

L!nk out...