Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

Minion Manager Vers.0.0.1


  • Please log in to reply
7 replies to this topic

#1
c0mrade

c0mrade

    Coder

  • Members
  • 26 posts
  • LocationUK

A simple minion manager, adding support for HP sorting and other stuff, for now it does what I needed for my prediction utility :)

Please note I had no lag with this, but no promises...

Credits to Inspiredfor helping with NetworkID and pointing out silly late night mistakes!

Simple to use:
 

EnemyMinions = GetMinions(1, 900, myHero)

You can use 1 for All, 2 For Enemy, 3 for Ally, 4 for Jungle and 5 currently for debug

The second parameter is Range, I used 900 for example but you can use any range

Finally Object to check from, I would advise myHero :)
 
To use the returned class you can do:

if EnemyMinions ~= nil then for _, object in pairs(EnemyMinions) do count = count + 1 end end

 In this case I am simply counting the number of minions in the returned table. I recommend you always check for nil to avoid errors.


To add:  Put this script in your Scripts/Common folder then include this in the top of your main script:

 

require('MinionManager')

Adding more support soon

Download:

https://raw.githubus...nionManager.lua
 
Working Gif:

giphy.gif


  • 2

#2
Keppo

Keppo

    Village Idiot

  • Members
  • 7 posts
  • LocationTunis , Tunisia / North Africa

GG WP OP mate carried me to challenjour


  • 0

#3
CptZeyx

CptZeyx

    Henry

  • Banned
  • PipPipPip
  • 784 posts
  • LocationBetween here and there

Nice bro :) , when i learn a little bit more, i'll use it ^^


  • 0

#4
Minion

Minion

    Advanced Member

  • Members
  • 31 posts
  • LocationDogeland

I dont need to be managed Doge


  • 0

#5
c0mrade

c0mrade

    Coder

  • Members
  • 26 posts
  • LocationUK

I dont need to be managed Doge

Well you are being managed now!


  • 0

#6
bscyb

bscyb

    Newbie

  • Members
  • 4 posts

so the only thing that this script do is that it  tell's to you how much minions are in range?

 

or it have also other functions?


  • 0

#7
aanime

aanime

    Member

  • Members
  • 17 posts

will try it later


  • 0

#8
solotanktank

solotanktank

    Member

  • Banned
  • PipPip
  • 16 posts

2


  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users