global script map: remove key =
[Object Command/Signal], class =
[Var/Class] |
null, race=
[Var/Race] |
null
Removes the link between a command/signal and a script either globally, or selectively for a
class of objects or a race's objects or a combination of the two.
This is often used to create exceptions to the setting of a link.
For example, if for some reason you want a command to be available to all ships except for M1 class ships, you could do the following:
Code
100 global script map: set key COMMAND_MY_COMMAND, class=ship, race=null, script='plugin.myplugin.myscript', prio=0
101 global script map: remove key COMMAND_MY_COMMAND, class=M1, race=null
Bookmarks