OnStoreDownloadComplete: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.8 beta 4 and will not work on previous versions. </poem> {{Welcome|desc=This function is called after OnNPCConnect when *npc finishes downloading necessary store files *all store-files were already up to date *npc was not called with options to download store| params=<source>NoParams</source>| example=<source lang=lua> function OnStoreDownloadComplete() { p...")
 
No edit summary
 
Line 2: Line 2:
This function was added in v1.8 beta 4  and will not work on previous versions.
This function was added in v1.8 beta 4  and will not work on previous versions.
</poem>
</poem>
{{Welcome|desc=This function is called after OnNPCConnect when  
{{Welcome|desc=<poem>This function is called after OnNPCConnect when  
*npc finishes downloading necessary store files
*npc finishes downloading necessary store files
*all store-files were already up to date
*all store-files were already up to date
*npc was not called with options to download store|
*npc was not called with options to download store</poem>|
params=<source>NoParams</source>|
params=<source>NoParams</source>|
example=<source lang=lua>
example=<source lang=lua>

Latest revision as of 01:07, 13 October 2024

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


Description:

This function is called after OnNPCConnect when

  • npc finishes downloading necessary store files
  • all store-files were already up to date
  • npc was not called with options to download store


Parameters:

NoParams


Return Values:
This function does not return any specific values.


Example

function OnStoreDownloadComplete()
{
	print("Store files has been downloaded successfully\n");
}

Related Functions

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