HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Target HP problem

View previous topic View next topic Go down 
AuthorMessage
Banditka95

avatar

Game username : Banditka95
Server : Reflection Of Spirits (Owner)
Female Posts : 59
Join date : 2016-02-01
Age : 20
Location : Somewhere far away

PostSubject: Target HP problem   Thu Jun 29, 2017 7:26 pm

Ive tried to move the Target-HP just a bit to the left to adjust it to the new blackpanel but no matter what i put into "left" is it a negative or positive number the Target-HP is not moving an inch, someone know what i have to do to finally let it move just a bit to the right?

https://s4.postimg.org/xsdbqs3kd/image.png
Back to top Go down
http://reflectionofspirits.freeforums.net
Skyia

avatar

Game username : Skyia
Server : Royal Elements
Female Posts : 144
Join date : 2014-09-14
Age : 16
Location : In your mind

PostSubject: Re: Target HP problem   Thu Jun 29, 2017 8:29 pm

Can I see it in your GUI?
Back to top Go down
Banditka95

avatar

Game username : Banditka95
Server : Reflection Of Spirits (Owner)
Female Posts : 59
Join date : 2016-02-01
Age : 20
Location : Somewhere far away

PostSubject: Re: Target HP problem   Fri Jun 30, 2017 10:14 am

Thats the code i use:

Code:
GUIOverlay/TargetPanel
{
 zorder 490
 container Panel(GUI/TargetPanel)
 {
 left 0.35
 top 0.04
 width 0.4
 height 0.125
 material GUIMat/HPBarBox2

 element TextArea(GUI/TargetText) : GUITemplate/BasicText
 {
 left 0.25
   top 0.006
 char_height 0.035
 alignment right
 caption Target
 }
 element TextArea(GUI/TargetHPVal) : GUITemplate/BasicText
 {
 left 0.3175
   top 0.01
 char_height 0.03
 alignment left
 caption HP
 }
 element Panel(GUI/TargetHP)
 {
 left -0.25
 top 0.05
 width 0.25
 height 0.015
 material GUIMat/HPBar2
 }
 element Panel(GUI/TargetHPBar1)
 {
 left 0.255
 top 0.075
 width 0.02
 height 0.015
 material GUIMat/HPBar2
 }
 element Panel(GUI/TargetHPBar2)
 {
 left 0.23
 top 0.075
 width 0.02
 height 0.015
 material GUIMat/HPBar2
 }
 element Panel(GUI/TargetHPBar3)
 {
 left 0.205
 top 0.075
 width 0.02
 height 0.015
 material GUIMat/HPBar2
 }
 element Panel(GUI/TargetHPBar4)
 {
 left 0.18
 top 0.075
 width 0.02
 height 0.015
 material GUIMat/HPBar2
 }
 element Panel(GUI/TargetHPBar5)
 {
 left 0.155
 top 0.075
 width 0.02
 height 0.015
 material GUIMat/HPBar2
 }
 element Panel(GUI/TargetHPBar6)
 {
 left 0.13
 top 0.075
 width 0.02
 height 0.015
 material GUIMat/HPBar2
 }
 element Panel(GUI/TargetHPBar7)
 {
 left 0.105
 top 0.075
 width 0.02
 height 0.015
 material GUIMat/HPBar2
 }
 element Panel(GUI/TargetHPBar8)
 {
 left 0.08
 top 0.075
 width 0.02
 height 0.015
 material GUIMat/HPBar2
 }
 element Panel(GUI/TargetHPBar9)
 {
 left 0.055
 top 0.075
 width 0.02
 height 0.015
 material GUIMat/HPBar2
 }
 element Panel(GUI/TargetHPBar10)
 {
 left 0.03
 top 0.075
 width 0.02
 height 0.015
 material GUIMat/HPBar2
 }
 }
}
Back to top Go down
http://reflectionofspirits.freeforums.net
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 479
Join date : 2014-02-09
Age : 19

PostSubject: Re: Target HP problem   Fri Jun 30, 2017 11:09 pm

sending to solved on request, but just so the solution is posted, it's controlled by this line in magixgui:

Code:
mTargetHP->setLeft((Real)(0.025 + 0.25*(1 - Real(tHP) / 500)));

________________________________
i can code you things
Back to top Go down
http://azoptaos.boards.net/
 
Target HP problem
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support :: Solved Support Issues-
Jump to: