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

[HELP]Begginer Developer


  • Please log in to reply
6 replies to this topic

#1
juunr95

juunr95

    Newbie

  • Members
  • 7 posts

Hey guys, I need a litlle help. Well, i see some time ago, a thread. And in this thread had a picture, showing, a script thats write, how many AA we need to kill the enemy.And I do not want to simply download , I want to make a similar , for me being able to learn !

So i need our help ! I Already make a script for LeeSin, studying others scripts, and i'ts show a text telling if you kill or not the other player, based on his HP, Shield,MR, Def, etc.. But now i want to do this scripts, just to show how many AA i need to kill, and, I 'm gonna shake and stir until out how to add more options. Just that i need now. Glade for all help.


  • 0

#2
MarCiii

MarCiii

    Advanced Member

  • Members
  • 216 posts
  • LocationMoTBase City

Simple AA under HP BAR:

for i,unit in pairs(GetEnemyHeroes()) do
	local TotalDmg = GetBonusDmg(myHero)+GetBaseDamage(myHero)
	local unitPos = GetOrigin(unit)
	local dmg = CalcDamage(myHero, unit, TotalDmg,0)
	local hp = GetCurrentHP(unit)
	local hPos = GetHPBarPos(unit)
    	local drawPos = WorldToScreen(1,unitPos.x,unitPos.y,unitPos.z)
        if dmg > 0 then 
          DrawText(math.ceil(hp/dmg).." AA", 15, hPos.x, hPos.y+20, ARGB(255, 255, 255, 255))
	end 	
end

If you need some more help feel free to pm me!

Now i have to go to sleep gn8^^


  • 0

#3
juunr95

juunr95

    Newbie

  • Members
  • 7 posts

It's that what i'm looking for. Thanks so much for help ! Now i will study this script and work to be more better ! Maybe i share here, for all, i know 50 % of people here have that script but the others 50% may need it right ? So for now, thanks so much man !


  • 0

#4
Darkness

Darkness

    GoSDB's manager

  • Banned
  • PipPipPip
  • 1,137 posts

I think you should change your title before you do anything else.

Why? Because it look like.. "help pls, begging developer" FeelsBadMan


  • 0

#5
Platypus

Platypus

    Bitcoin and Paysafecard payments are now available

  • Banned
  • PipPipPip
  • 1,289 posts
Copypasters UNITE
  • 0

#6
Zypppy

Zypppy

    Ex Global Support

  • Contributor
  • 1,817 posts

Copypasters UNITE


I Don't see any copy paster here Doge
  • 0

#7
Inspired

Inspired

    Took the red pill.

  • Ex-Core Dev
  • PipPipPip
  • 723 posts
  • LocationWonderland

inb4 "I did not understand, what does drawPos do?"
Yes, you are right it does: Nothing.
-> Nice c-p


  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users