Sign in to follow this  
Followers 0
Jeroen

findmob

4 posts in this topic

I've (Quickly) assembled a custom script command to test the plugin manager (on how I should use it). Hereby I drop a custom script command as a plugin.

 

File Name: findmob
File Submitter: Jeroen
File Submitted: 16 April 2017
File CategoryPlugins

For Building Plugins:
Windows: http://herc.ws/wiki/...Plugin_for_MSVC
Linux: http://herc.ws/wiki/..._Plugin_for_gcc

Usage:
script command: findmob(<arrayname>,<monsterid>); stores the monster's permanent spawn maps and amount (note it's stored back to back, if a mob has two spawn locations the maps will be on index 0 and 2 while the amount are on 1 and 3 please refer to the example below.) 


Example:

(It's a string array, if the amount is used, parse it using atoi)

morocc,154,89,6	script	findmobtest	1_M_SIZ,{ 
	input [email protected];
	findmob([email protected]$,[email protected]);
	for([email protected] = 0; [email protected] < getarraysize([email protected]$); [email protected] += 2){
		dispbottom "mob spawns on map " + [email protected]$[[email protected]] + " ( " + [email protected]$[[email protected]+1] + ")";
	}
}

 

Click here to download this file (When it has been approved)

 

(Sorry dastgir, I stole your template!) 

 

Alternatively you can find it on my github here.

Edited by Jeroen

Share this post


Link to post
Share on other sites

I noticed that the last file upload was in February the 22nd, it might be possible that the person in charge of the download section has gone missing. Therefore I just posted it on my github in the mean time. You can find it here:

https://github.com/garet999/HerculesPlugins/tree/master/src/Plugins

Edited by Jeroen

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0