ConnectMultipleNpcs

From NPC for VCMP 0.4 Servers
Revision as of 15:24, 28 January 2024 by Habi (talk | contribs)
Jump to navigation Jump to search

This function was added in v1.8 beta and will not work on previous versions.


Description:
Opens a .hrec_file and starts connecting npcs using name present in the file.


Parameters:

(filename,host="127.0.0.1",flags=7,execArg="")

filename : The name of the hrec file without the ".hrec" extension. The file must be present in the recordings/a_server/ folder.
host : The IP address of the server to connect the npcs.
flags :

{


Return Values:
true, on success. throws error on failure.



Related Functions

The following functions may be helpful as they relate to this function in one way or another.