Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Introduced in

Version:1.18

Description

Description:Calls the PluginFunction in a Fusion plugin and passes the given argument to it.

Syntax

Syntax:fusionFunction [pluginName, arg]
Parameters:
  • pluginName: String - The name of the Fusion plugin.
  • arg: String - The argument passed to the PluginFunction of the Fusion plugin.
Return Value:Anything - Based on the return value of the PluginFunction.

Examples

Examples:
Loads the plugin "HelloWorld.dll"
, after loading users can execute the plugin by using the appropriate input
. After loading, users can execute the plugin by using the appropriate input parameter:
ret = fusionFunction["HelloWorld.dll", "load"]
Unloads the plugin "HelloWorld.dll"
, after unloading users can delete or modify the particular
. After unloading, users can delete or modify the particular plugin:
ret = fusionFunction["HelloWorld.dll", "unload"]

Additional Information

See also: componentFunction
Multiplayer: 
Problems: 

Notes