Download: Inspired.lua
API is hosted >here<
This thread is alone for feedback and suggestions.
Best Answer SxcS , 30 July 2016 - 06:15
Is the download link broken, I only see a blank page? Am i doing something wrong?
its inbuilt in gos, no need to download
Go to the full post »Download: Inspired.lua
API is hosted >here<
This thread is alone for feedback and suggestions.
dat GetDistance.....
You just told me these code is not effectively Keppo
something like local is faster than global?
less table accesses, this one is the fast one loldat GetDistance.....
You just told me these code is not effectively Keppo
something like local is faster than global?
less table accesses, this one is the fast one lol
function GetDistance(p1, p2) p2 = p2 or myHero p1 = GetOrigin(p1) p2 = GetOrigin(p2) if p1 and p2 then return math.sqrt((p1.x - p2.x) ^ 2 + ((p1.z or p1.y) - (p2.z or p2.y)) ^ 2) else return nil end end
Where is the key point? I still don't get it.
I thought is GetOrigin yesterday....
function GetDistance(p1, p2) p2 = p2 or myHero p1 = GetOrigin(p1) p2 = GetOrigin(p2) if p1 and p2 then return math.sqrt((p1.x - p2.x) ^ 2 + ((p1.z or p1.y) - (p2.z or p2.y)) ^ 2) else return nil end endWhere is the key point? I still don't get it.
I thought is GetOrigin yesterday....
GetOrigin gets the location of an Object, not the distance to it.
GetOrigin gets the location of an Object, not the distance to it.
it's not the question I 'm asking.
These code work well, but not effectively.
I don't know why, it look almost same
Thanks
Removed minion funcs because fps
gj
Minion funcs are back, but complicated to use and might lagg you. Have fun.
WP Inspired!
As we spoke in Skype i will be embedding those new "AddXXX" functions into GoS itself as a temp solution.
Why not just add these lib as new api?
very useful library, but CountMinions() ? XD
It was from testing and I left it in.very useful library, but CountMinions() ? XD
Hello,
Just a little question, the scripts you post how can i use it ?
I need to replace in the file :
it's supposed to look like this after ?
Hello,
Just a little question, the scripts you post how can i use it ?
I need to replace in the file :
it's supposed to look like this after ?
ye i have the same question
Hello,
Just a little question, the scripts you post how can i use it ?
I need to replace in the file :Spoiler
it's supposed to look like this after ?
Spoiler
ye i have the same question
0 members, 3 guests, 0 anonymous users