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

World To Minimap Function


  • Please log in to reply
5 replies to this topic

#1
Toshibiotro

Toshibiotro

    Lord and Saviour of GoS

  • Banned
  • PipPipPip
  • 957 posts
  • LocationThe Moon

gib title


  • 0

#2
Feretorix

Feretorix

    Administrator

  • Administrators
  • 3,248 posts

Check out the API once again, you have two options in there:

pos2D and posMM

 

An example can be found here: http://gamingonstero...ungleTimers.lua

 

if JGLMenu.OnScreen.Enabled:Value() then
            Draw.Text(IntegerToMinSec(timeleft),JGLMenu.OnScreen.FontSize:Value(),camp[3].pos2D.x,camp[3].pos2D.y,camp[7]);
            end
        if JGLMenu.OnMinimap.Enabled:Value() then
            Draw.Text(IntegerToMinSec(timeleft),JGLMenu.OnMinimap.FontSize:Value(),camp[3].posMM.x,camp[3].posMM.y,camp[7]);
            end

  • 0

#3
Toshibiotro

Toshibiotro

    Lord and Saviour of GoS

  • Banned
  • PipPipPip
  • 957 posts
  • LocationThe Moon

does .posMM work on vectors? the api says only game objects


  • 0

#4
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts
he meant Vector():ToMM()
  • 0

#5
Toshibiotro

Toshibiotro

    Lord and Saviour of GoS

  • Banned
  • PipPipPip
  • 957 posts
  • LocationThe Moon

he meant Vector():ToMM()

:nod:


  • 0

#6
Feretorix

Feretorix

    Administrator

  • Administrators
  • 3,248 posts
Will be added, thanks for mentioning.
  • 0




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users